Standard DBAware Components.
Posted: Thu 26 Feb 2009 04:06
I have a standard Mysql Database with a table, and a set of corresponding DBGrid, and DBComponents (DBEdit).
However when I change data in the DBEdit, the Record is not automatically being updated back on the server, only when I use DBGrid.
In the MyQuery Update SQL I had the component generate the standard set of SQL instructions..
I tried adding a 'POST' button which activates the following commands.
MyQuery1.SQLUpdate;
MyQuery1.SQLRefresh;
But that does not work... Any suggestions. DBGrid can edit and post back the records fine, but DBEdit will not.
However when I change data in the DBEdit, the Record is not automatically being updated back on the server, only when I use DBGrid.
In the MyQuery Update SQL I had the component generate the standard set of SQL instructions..
I tried adding a 'POST' button which activates the following commands.
MyQuery1.SQLUpdate;
MyQuery1.SQLRefresh;
But that does not work... Any suggestions. DBGrid can edit and post back the records fine, but DBEdit will not.