Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT statement error!!!
Message
De
02/11/2000 01:25:03
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
 
 
À
01/11/2000 09:19:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00436587
Message ID:
00437017
Vues:
24
Firstly I would like to thank all of u for the repsonses.
I know that using reserved words is a bad idea , but i have fixed all of that.
I actually printed a list of reserved words and worked backwards from there.

By the way Nadya I am not a girl, but don;t worry I have other people that even call me Fido(like in the dogs name)
No harm done :)

Regards
Fida




>>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
>
>In addition to Macer's comments, I see two other problems with this query. First, you refer to a table as Group in the FROM clause, but Group_ in other places.
>
>Second, if the real name is Group, you're likely to have trouble with any query involving this table because GROUP is a reserved word in queries. In general, it's a bad idea to use VFP reserved words as table or field names.
>
>Tamar
Wannabe FoxPert!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform