Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is a Table already engaged in a Relationship
Message
From
23/12/1999 15:33:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Is a Table already engaged in a Relationship
Miscellaneous
Thread ID:
00308192
Message ID:
00308192
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform