Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maintaining Group Header Information
Message
From
04/11/1997 21:05:14
 
 
To
01/11/1997 17:10:14
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00057704
Message ID:
00058264
Views:
29
So, the wrong info is printed in the group header or in the group footer?

The report variables:

- are recalculated at each detail, ie for each record. This is like;
MyVar = Value To Store Expresion
right before the detail is printed
- are reset at the level you specify:
MyVar = Initial Value
right before the group/page/report header is printed.

The report variables are calculated in the order they are defined for both value_to_store and initial_value. This is good to know when you have variables that depend on other variables in the same report.

There are many tricks you can do with report variables using these rules.

If you have wrong info in a group footer using fields from a dbf, you may try to use variables instead that will just copy the values from fields:

Declare a report variable MyVar:
Value to store: MyField
Initial value: MyField

This should work. But since it seems you met a bug in VFP, the bug may also affect your variables.

Vlad

>Group Header - Dealer Information, number, name
>* this is where I'm getting invalid information on the second
>* page that only shows the group footer. If at least one detail
>* band is printed here the information here will be correct.
Previous
Reply
Map
View

Click here to load this message in the networking platform