Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Relations
Message
From
19/01/2000 09:25:21
 
 
To
18/01/2000 17:18:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00319644
Message ID:
00319844
Views:
11
>I need to develop a report that lists the centers and all the patients that belong to that center along with their laboratory results. The report should pull the data from the following tables:
>
>Patients
>Centers
>Laboratory
>
>All contains a linked field: Patient_id
>
>How can I set relation to all three tables so that once finds all the patients in one center, it'll just move on to the next...
.
.

One good solution is SQL view, as Dore said, but if you insist on indexes and
relations there is one small 'bug' and workarround that is good to know about.
If you setting nested one-to-menu relationships using dataenvironment
set skip will not work properly for granchild table e.g. dataenvironment will automaticaly set 'set skip' only to first child, therefore correction
is needed to be done through code (load method);

*********************
select tableParent
set skip to FirstChild,GranChild
*********************

All the best
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform