Walter Meester
HoogkarspelNetherlands
General information
Category:
Third party products
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,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only