Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports - Formula Fields
Message
From
14/12/1999 02:43:36
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00302787
Message ID:
00303171
Views:
40
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
Map
View

Click here to load this message in the networking platform