Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table named with digits
Message
From
25/04/1998 13:06:17
 
 
To
25/04/1998 12:23:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094892
Message ID:
00094899
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform