Zabstractrodataset
Posted: 07.05.2014, 04:48
Hi
I use Delphi XE2 with Mysql. I use TZconnection, TZQuery and a TDatasource components. Recently I started having problems when loading the fields from the select set in properties SQL of the TZQuery.
Example: select * from name_of_table
It compiles but don't accept any SQL command when in runtime, returning a message like the fields did not exist. For exemple:
Project name_of_project.exe raised exception class EDatabaseError with message 'ZQuery1: field 'name_of_field' not found'
Then a lot of errros are shown on ZAbstractRODataSet.
Anybody can help me? Thanks in advance.
I use Delphi XE2 with Mysql. I use TZconnection, TZQuery and a TDatasource components. Recently I started having problems when loading the fields from the select set in properties SQL of the TZQuery.
Example: select * from name_of_table
It compiles but don't accept any SQL command when in runtime, returning a message like the fields did not exist. For exemple:
Project name_of_project.exe raised exception class EDatabaseError with message 'ZQuery1: field 'name_of_field' not found'
Then a lot of errros are shown on ZAbstractRODataSet.
Anybody can help me? Thanks in advance.