Error when SQL statement includes a key word

Stimulsoft Reports.NET discussion
Post Reply
Andre2
Posts: 47
Joined: Thu Jan 24, 2008 12:30 am
Location: Australia

Error when SQL statement includes a key word

Post by Andre2 »

Hi There

Im using ver 2008.2.273.0 and am finding an error when the report is combiled if I have a "key" word in an sql statement. eg:

Select Date,Amount,Reason from MyTable where RowID= 25 will fail when the report is combiled but

Select Date as TransDate,Amount,Reason from MyTable where RowID= 25 is fine

Cheers

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error when SQL statement includes a key word

Post by Edward »

Hello, Andre.

Please select that DataSource in the Designer, then switch to the Property Editor and set AllowExpressions property in false.

Thank you.
Post Reply