Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a Table Reference in a Database be Checked?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00355475
Message ID:
00355482
Views:
17
>I'm attempting to build in features that will handle a missing table in a database. I know how to create a new table in a database programatically, however an error is generated if a table reference is already there. If I remove the reference programatically, an error will be generated if there is already no reference.
>
>Therefore, is it possible to check whether a table is already referenced in a database, so that it can be removed if the table is missing?
>
>Thanks!
>
>Michael Reynolds

You can use ADBOBJECTS() to get an array of all tables in the database.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform