Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carry forward a group total
Message
 
 
To
28/08/2008 18:25:16
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01342833
Message ID:
01342886
Views:
16
>Can't seem to get this one to work. I created 2 variables julTotal and julPrior for July. julTotal sums jul and prints OK in the group footer. julPrior is initialized at 0 and is not reset. Tried _vfp.SetVar('julPrior',julTotal) in all the onentry and onexit values but all I ever get for its value is 0 or the total for the current detail band.

Let's try to create julPrior not as a variable in the report, but as a local (or private) variable in the calling program. Or you may try to create this variable as public in report's DE Init method and release it in its Destroy. I think it should work this way instead of using report variable.

Also note, that I'm trying this theoretically, without VFP close by.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform