Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recalc report every time a Detail Band line is printed.
Message
 
To
18/06/1999 13:15:33
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00231182
Message ID:
00231501
Views:
18
>>David,
>>
>>Here's what I did. Create a report, in it place a field and then a second one the is below and to the right of the first. I created two variables in the command window, lcLastCust (last customer ID) and llNewCust (T/F is this a new customer).


Note the bolded text above, the vars are created to be visible to both the report and the UDF. The UDF simply sets the logical, there was a typo the else should set it to .T.

The return of lcRet is simply to cause a verification of the cust_id to be printed on the report for testing purposes. If all I neede was the llNewCust flag set, then I would return "" from the UDF faithfully printing nothing.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform