Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A small one ;-)
Message
From
25/08/2005 20:18:36
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01044150
Message ID:
01044164
Views:
16
>>I have noticed that when I open a table with the code below, it get's reported as not open when I try to access it from a form. Why?
>>
>>
>>Close Tables All
>>FileName = Getfile("dbf","Select file number","Load")
>>Use &FileName
>>
>
>Are your file names beggining with a digit? (select file number)
>
>If so, they will not have the alias name you expect. Add an ALIAS clause to your USE command so it always has a predictable alias.

There are also some characters (although legal, they probably shouldn't be used) get changed in the alias. I don't have a list of them, but I know that # in a file name is legal but gets modified to _

USE FR#CNTY results in an alias of FR_CNTY
Previous
Reply
Map
View

Click here to load this message in the networking platform