Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrong
Message
From
29/03/2000 19:27:35
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
29/03/2000 17:52:45
Christopher Pinnock
United General Insurance Company
Kingston, Jamaica
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Re: Wrong
Miscellaneous
Thread ID:
00352456
Message ID:
00352495
Views:
15
Chris,

I assume you want a count of the child records?

Do you have SET SKIP TO ChildTable in your relation?

What is the status of SET("DELETED")? Remember that it is scoped to the datasession.

The most reliable way to get data for reports is to select exactly what you want into a CURSOR and print from there. The data will be denormalized (the parent data will repeat a lot) but it works every time. When you refer to the field in the report use "MyField" not "MyTable.MyField" and just make sure the CURSOR is the current work area.

When you select data into a cursor like that, how does the record count compare to what your report shows?

Post back with more details or questions.


>I am getting an incorrect count in my report. I have two tables a parent table and a child table. In the report there is a group on the key field. In the detail section are the child table fields. In the header section of the group are the parent table fields. I count on the key field in the summary band at the end of the report. When the report is run the count is different from the number of records in the file (it counts more but not enought to equal Parent Recs + child recs). Any suggestions ?????
>
>
>Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform