Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT statement error!!!
Message
 
 
To
01/11/2000 04:17:42
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, South Africa
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00436587
Message ID:
00436720
Views:
15
Hi Fida,

Nice to see your face here in UT. I mistakenly thought, that you're a girl. Perhaps, Fida reminds me Frida :)

Regarding your question: You can not use FOR clause in SQL, you have to place all your conditions in WHERE clause.

>Hi All
>
>Can anyone please help with this statement :
>
>I get an error say unrecognised phrase/keyword .
>
>select group_.gcode,group_.desc_,sum(assets.price) for (empty( assets.trans_sold) .or. assets.trans_sold = "I" .or. isnull(assets.trans_sold)), ;
>sum(assets.depprevyrs) for assets.trans_sold = "S" ;
>from group,assets ;
>where assets.group_ = group_.gcode
>
>Thanks in advance
>Fida
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform