Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'number' as a field name
Message
De
06/09/1997 12:52:45
Glenn Mcburney
Doe(Ni) Information Systems Unit
Belfast, Royaume Uni
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047940
Message ID:
00048828
Vues:
24
>What I had to do because goofball named a field 'number' was:
>
>Select "NUMBER", field2, ... from TableName ...
>
>You have to use all caps and enclose in "full quotes".
>
>I think the best solution (read: this is what I did) is to create a view on this table that duplicates the structure in every way except rename the "NUMBER" field to something else. Then use the ViewName in all your selects and everything will work as usual.

Mark,

Thanks for your reply, the thing that worries me about this problem is it is intermittent and is sometimes solved by packing the table.

The view idea is a good one and may be better than altering the base table.
Glenn
DOE(NI), Belfast
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform