Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detail band on entry expression problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00747207
Message ID:
00747211
Vues:
17
Why should it? Expression 'balance = calcbal()' means that VFP have to compare value of balance with result of calcbal(). Try
_VFP.SetVar("balance", calcbal())
Keep in mind that UDF() in report could be called miltiple times even for one detail record.

>I have created a report variable, balance, and want use that variable for a field on the report. I have a UDF to return the value of the current balance. When I put the expression balance = calcbal() into the on entry expression for the detail band, the variable is not getting updated. I can use just calcbal() as the expression for a field and get the correct balance, but I would rather have it defined as a variable in the detail band so I could do some other calculations with it. Am I using an expression here in the wrong way?
>
>
>Thanks in Advance
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform