Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a formula at runtime in Crystal Reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00608828
Message ID:
00610251
Views:
16
Hi Jon,

I've tried this...

(form's init)
PUBLIC CRFormulaField as CRReport.FormulaFieldDefinition
PUBLIC CRFormulaFields as CRReport.FormulaFieldDefinitions

FOR EACH CRFormulaField IN CRFormulaFields
IF CRFormulaField.Name = "SDate" then
CRFormulaField.Text = "Date(2000,01,01)"
ELSE
IF CRFormulaField.Name = "EDate" then
CRFormulaField.Text = "Date(2000,01,01)"
ENDIF
ENDIF
NEXT

The report can print, but I'm not getting the results I want... is there something wrong with my code ?

Thanks,

Deddy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform