Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is a Table already engaged in a Relationship
Message
De
23/12/1999 15:33:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Is a Table already engaged in a Relationship
Divers
Thread ID:
00308192
Message ID:
00308192
Vues:
62
Hi Everyone

I am looking for an easy way to test whether a target table I am about to use in a SET RELATION TO is already engaged as a target in another SET RELATION TO ?

The Target() and Relation() functions are centred around the "parent" table. To test whether a table is a target in a relationship, using the available functions, you would literally have to loop through all open tables and use the Target() function incrementing the first parameter and testing whether the target table you seek is returned.

If this is the only way to do this, would Foxpro process this task efficiently or would it take a lot of time, relatively speaking?

TIA
-=Gary
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform