Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if a table exists within the db ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00273032
Message ID:
00273098
Views:
18
>I am performing some table creation within a prg. I wonder how I can know if a table already exists before doing a CREATE TABLE...

Use INDBC() for a DB table if it might be closed. If it's open, you can use USED(). If it's free and not open, you'll have to use FILE().
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform