I have several Formula fields in my crystal report, I using C#.Net 2003 to call the crystal report and pass value into the Formula fields for display. Example code:
rpt.DataDefinition.FormulaFields["DateTime"].Text = "'"+sDateTime+"'";in which rpt is defined as ReportDocument in the class.
When the report is display, all my Formula fields is empty like the below screen shot:
All the Values will only be displayed when i press Refresh button on the crystal report viewer like the screen shot below:
Any1 have any idea to solve it?I am using Crystal report 2008 incorporated into .Net2003. Any help would be appreciated.
Thanks.