Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I would like to add a summary page to my report in vfp50
Message
From
15/10/1997 11:55:32
 
 
To
15/10/1997 11:48:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054665
Message ID:
00054683
Views:
30
>>>>>I am using the report designer in vfp50 for my report.
>>>>>I need a summary page. I added a summary page, but it is
>>>>> not printing out after the report prints.
>>>>>Any ideals?
>>>>
>>>>Did you check "New Page" in Title/Summary dialog?
>>>
>>>Hi Edward:
>>>Yes I did. My Summary page prints fine.
>>>As part of my summary, I need to post a count
>>>of one of the fields and evertime it changes.
>>>I am not sure how to put code in the report designer.
>>>Where do I look for this? - thanks
>>
>>You should create report variable (Report/Variables option) selecting field value to store and 'Count' to calculate. Then you just create report field showing the variable in summary band.
>
>I really need something like a DATA GROUPING. I need to keep
>tract of a field and everying time its value changes, I need to do the following:
>On the Summary Page
>1. print the field's value
>2. print the number of occurrences that field's value changes
>
>what can I do - should I write code and if I do, where do I put or call the
>code?

Rob, summary page prints once for whole report. If you want to trace changes of some field, you must use report grouping and use Group Footer/Header Band to print old/new value. You can still print number of groups on summary band using two possible ways:
1. Use 'On Exit' or 'On Entry' procedures to increment variable.
or (it will be more reliable for you)
2. Just calculate 'number of groups' before running the report and store the result in variable again.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform