U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » SqlCtrls and IsModified()
SqlCtrls and IsModified() [message #26970] Wed, 16 June 2010 06:15 Go to previous message
bushman is currently offline  bushman
Messages: 134
Registered: February 2009
Experienced Member
I´d like to use Upp::SqlCtrls to submit database table field contents for user edition and SqlUpdate the db ONLY if the user changes any of the field values.
What does method Upp::SqlCtrls::IsModified() do?
Is it to point whether a user edited any of the Ctrl contents in a SqlCtrls set?
In other words, how do I check whether a user changed the contents of any of the Ctrls of a given SqlCtrls set?
Do I have to compare one by one with their previous db values upon users´ SqlCtrls submission?

Thanks!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple schema files?
Next Topic: MySQL bug: Missing FIELD_TYPE_TIMESTAMP
Goto Forum:
  


Current Time: Sun May 24 23:10:54 GMT+2 2026

Total time taken to generate the page: 0.00583 seconds