Hello
We are trying to retrieve some records from an MS SQL Server 2005 Express database.
We are using the statements:
SQLString := 'SELECT * from Entity WHERE Name LIKE ' + QuotedStr(FilterValue);
dmEDS.cdsEDS.Close;
dmEDS.sdsEDS.CommandType := ctQuery;
dmEDS.sdsEDS.CommandText := SQLString;
dmEDS.cdsEDS.Open;
dmEDS.cdsEDS.Refresh;
However, we get the following error during compile:
[Pascal Error] Entities.pas(175):E2003 Undeclared identifier:'ctQuery'
Why is this happening?
Regards,
Georges
We are trying to retrieve some records from an MS SQL Server 2005 Express database.
We are using the statements:
SQLString := 'SELECT * from Entity WHERE Name LIKE ' + QuotedStr(FilterValue);
dmEDS.cdsEDS.Close;
dmEDS.sdsEDS.CommandType := ctQuery;
dmEDS.sdsEDS.CommandText := SQLString;
dmEDS.cdsEDS.Open;
dmEDS.cdsEDS.Refresh;
However, we get the following error during compile:
[Pascal Error] Entities.pas(175):E2003 Undeclared identifier:'ctQuery'
Why is this happening?
Regards,
Georges