Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Produits tierce partie
Aaron,
>Thanks, but I need access to the FormulaFields, not the ParameterFields.
>How would I go about using the CRPE Automation Server instead?
>
OOPS,..... Sorry
The automation server offers more flexibility and control, especially when you want to control some lay-out usseus at runtime like, Orientation, margins etc..
The following is from the help:
[form.]Report.Formulas(ArrayIndex)[= "FormulaName= FormulaText"]
Enter the formula name and the string that you want to replace the existing string for each formula that you want to change in your report.
For example, to change a formula @COMMISSION to {file.SALES}*.1, and a second formula @TOTAL to {file.SALES} + {file.COMMISSION}, enter the following:
CrystalReport1.Formulas(0) = "COMMISSION= {file.SALES} *.1"
CrystalReport1.Formulas(1) = "TOTAL= {file.SALES} + {file.COMMISSION}"
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement