ADO Access TZQuery DBGrid not updateable
Posted: 13.04.2014, 00:38
I'm using Zeos with ADO to hook into an Access database. I have a DBGrid connected to a ZQuery. This works fine with Zeos and the SQLite driver. I can do edits in the grid, add records etc. Switching to Zeos/Ado/Access though, on trying to edit a field I get the EOleException error: 'Operation must use an updateable query'.
If I add a TZUpdateSQL object and hook it to the query the error goes away but no record changes are saved.
When I use TADOQuery instead of Zeos I can do such grid edits with no such problems.
Am I setting something wrong?
If I add a TZUpdateSQL object and hook it to the query the error goes away but no record changes are saved.
When I use TADOQuery instead of Zeos I can do such grid edits with no such problems.
Am I setting something wrong?