TMSQuery not updating the first time
Posted: Wed 26 Nov 2008 05:19
I am using SDAC 4.50.0.36 with Delphi 2007.
I am converting an application from BDE to SDAC and one particular form i am working on has 10 TMSQuery components updating different fields.
While testing i noticed that when i update one of the tables that the value is not retained in the database until i hit the save button a second time.
I have checked the values in the beforepost and they hold the correct values but after the beforepost has executed nothing has changed.
I use the insert, update and delete sql properties at design time and turn on cacheupdates.
I have tried using post, applyupdates and commitupdates and no difference is noticed.
HELP!!!!!!!!!!
I am converting an application from BDE to SDAC and one particular form i am working on has 10 TMSQuery components updating different fields.
While testing i noticed that when i update one of the tables that the value is not retained in the database until i hit the save button a second time.
I have checked the values in the beforepost and they hold the correct values but after the beforepost has executed nothing has changed.
I use the insert, update and delete sql properties at design time and turn on cacheupdates.
I have tried using post, applyupdates and commitupdates and no difference is noticed.
HELP!!!!!!!!!!