Page 1 of 1

Zabstractrodataset

Posted: 07.05.2014, 04:48
by albertoleandro
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.

Re: Zabstractrodataset

Posted: 07.05.2014, 12:48
by miab3
@albertoleandro,

See here:
http://zeoslib.sourceforge.net/viewtopi ... 40&t=13184
I think it may be the same problem (underscore in tablename).
Try my patch and write what has changed.

Michal

Re: Zabstractrodataset

Posted: 07.05.2014, 15:11
by albertoleandro
Hi, miab3

Thanks for reply but it didn't work. I have uploaded the print for you to see. I really don't know what to do in this case.

:(