Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database link
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00391543
Message ID:
00391561
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform