Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a formula at runtime in Crystal Reports
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00608828
Message ID:
00609228
Vues:
16
>Hello all,
>
>Anyone know how to pass a formula at runtime using Crystal Reports 8.5 ?
>Examples provided with CR are written in VB and didn't work in VFP.
>
>TIA,
>
>Deddy

Deddy,

If you know the name of the formula field you wish to populate at runtime, then you will need to loop through the report object's FormulaFields collection and compare the FormulaFieldName to the field name in question. Once you find it, then you just set the Text property of the formula object to be whatever formula string you want (e.g. oFormulaField.Text = "CurrentDate").

HTH.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform