Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1 TO many from a cursor
Message
From
10/08/1999 13:00:16
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00252021
Message ID:
00252064
Views:
10
If the child has a foreign key to the parent, as it should, you can index the cursor on that foreign key, set a relation, and do your basic 1:M report.

You cannot index a cursor but once, but once is enough.

>The results are 2 cursors, one header and one detail
>
>
>Chris
>
>
>>Christopher,
>>
>>Do you mean that the result of the Select is a flattened file, containing repeating values for the parent and unique values for the children? If so, just group on one of the parent fields.
>>
>>>Anyone know how to get one to many reports to work
>>>where the results are generated form SQL selects into cursors?
>>>
>>>Thanks,
>>>
>>>
>>>Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform