SQL Expressions Fields
Hi i'm kinda new to crystal reports(9.0) so i would greatly appreciate any help.
Im trying to use this simple SQL statement(as an expression field):
SQL Select
"Currency_Rates"."CR_CODE",
"Currency_Rates"."CR_DATE",
"Currency_Rates"."CR_BUY_RATE",
"Currency_Rates"."CR_SELL_RATE",
"Currency_Rates"."CR_RSN"
From
"Currency_Rates"."Currency_Rates"
Where
"Currency_Rates"."CR_CODE"="Customer"."C_CURRE NCY" and
"Currency_Rates"."CR_DATE" <= CurrentDate
Order by
"Currency_Rates"."CR_DATE DESC"
For some reason i get an error stating my syntax is wrong:
"Incorrect syntax near the keyword 'FROM'"
... i've tried changing it around (no quotes,single quotes,etc) numerous times ... but i can't seem to get it right
Hopefully my error is obvious to someone out here :D
THx in advance :D
|