Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database link
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00391543
Message ID:
00391561
Views:
10
>Is there a way to programmatically check if a table has a link to a database?

You can use CURSORGETPROP("Database","myalias") if the table is open. I don't know of way to do it without the table being open.

Of course, if you are feeling brave (and lucky), you could always open the DBF file using low level file operations and check for the backlink information contained in the header block.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform