Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A SET RELATION question?
Message
From
03/10/2000 14:33:16
 
 
To
03/10/2000 13:51:52
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00424100
Message ID:
00424248
Views:
16
>>>>In vfp60 when you SET RELATION between parent and child...
>>>>What happens if your child table contains a record that your parent
>>>>table does not have..how to you catch that?
>>>
>>>If the relation is parent to child. Then when you position the parent the children will show up. If you have an orphan than the only way to find it is set the relation child to parent and move the child record. When parent is EOF then I do something such as delete the child or generate a report etc..
>>>
>>>HTH
>>Hi Bret and thanks for the information... :)
>
>Robert,
>
>The referential integrity features of VFP will help to prevent this type of situation - like not being able to delete a parent record while child records are present, but of course you have to start with a "clean" file first if you're adding the rules after some data already exists.
Cindy, I am dealing with two tables given to me by management. I have to deal
with these tables the way they exist...thanks
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform