Information générale
Catégorie:
Codage, syntaxe et commandes
Michel,
You could assign an ALIAS name in the USE and use that in the SELECT.
But in fact I would caution AGAINST table names Starting with a numeric, mainly because of yet another problem you will hit - VFP will choose its OWN name for the alias *IF* you do not assign one because a numeric is *NOT* allowed as the first character of an alias.
Cheers,
Jim N
>One of our table is named with 81500018.dbf. How can we select it using a variable. Assuming lcTable='81500018' and the table is open, the following won't work:
>
>SELECT(lcTable)
>
>As the first character is a digit, Visual FoxPro will try to select the area number instead and not use the table name.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement