General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only