Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if file string is and .dbf?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00398179
Message ID:
00398353
Views:
26
If you can open it with the command USE without error.

copy file MyDbfTable.xxx to c:\temp\MyDbfTable.dbf
on error llError=.T.
USE c:\temp\MyDbfTable.dbf IN 0
if llError=.T.
* it's not a DBF table
endif
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform