Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access selected table.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00331677
Message ID:
00331791
Views:
18
>Hi Fred,
>
>I investigated further and found that if I do IF FILE('c:\myTable.dbf')
>it indicates the file is not found which would explain the error, but the file is there. When I do a Windows directory I can see the filename in the directory along with the .CDX and .FPT files of the same tablename.
>
>And the other weird thing is that when I ignore the error message the table displays and works just as I wanted it to. I also discovered the error messages ia happening while the USE \mytable command is executing. The table alias name is the same as my table name. Only 7 characters.
>
>Another weird thing about this is that if I jump to another form and then come back to the form that gives me this error, I don't get the error upon return to the form. It only happens the first time I open this first. If I release the form and reopen it later I don't get the error. Too weird.
>
>Thanks for trying to help me.


Since you're putting your table in the root folder of C:, you may have a problem with too many directory entries. Try creating a folder and putting the file in that.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform