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

Home » U++ Library support » U++ SQL » SqlCtrls and IsModified()
Re: SqlCtrls and IsModified() [message #26978 is a reply to message #26973] Wed, 16 June 2010 14:14 Go to previous messageGo to previous message
bushman is currently offline  bushman
Messages: 134
Registered: February 2009
Experienced Member
Ok. It didnīt work for me in the beggining, but now I see why:
after some more code diving Iīve seen you gotta call SqlCtrls::ClearModify() right after you SqlCtrls::Load(...) your Ctrl set, or it ainīt gonna work. I must have somewhat assumed that fresh SqlCtrls::Load calls would somehow automatically reset some modification flag internally to the SqlCtrls object. But then again I see this SqlCtrls::ClearModify() method and got a wakeup call, which makes me feellike 'why-havenīt-you-seen-it-before?'.
Anyway, this might come up as somebody else's doubt too, so I thought I should post it.
Sorry for taking up your time...

Many 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 21:32:14 GMT+2 2026

Total time taken to generate the page: 0.00691 seconds