Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00355475
Message ID:
00355482
Views:
18
>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