Board index » cppbuilder » Commands out of sync
Commands out of sync
2006-03-05 05:02:44 AM
I am using BDS 2006 with dbExpress and a MySQL table.
I do some queries to database table (I put the data on a DBGrid.) using the
SQLDataSet->CommandText = "new SQL query";
If I donīt change any data on the DBGrid all works fine (I can change betwen
queries). However, when I a changes the data on the DBgrid and try to change
to other query I get the error:
"Commands out of sync -you can't run that now"
The command ApplyChanges(0) works OK because the changes are done to the
Somebody has any idea what I am doing wrong.