Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recalc report every time a Detail Band line is printed.
Message
 
À
18/06/1999 13:15:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00231182
Message ID:
00231501
Vues:
19
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform