Skip to Content
Former Member
Jun 13, 2016 at 11:38 AM

I need help to Access Crystal Reports field values programmatically


I have tried a few different way but can't seem to find what I am looking for...

I am running a Crystal Report programmatically using c# WinForms, I need to be able to access the values of the fields in the group header 1 much like the way Visual CUT does when it runs the reports in its scheduler.

I have managed to get a hold of the GroupHeader1 Value by doing:


and thought something like


would be available, but can't seem to find where I would be able to access the fields and their values at runtime.

I can see the formula I need by going through:


But that just gives me the original value in the formula rather than what the report displays and sees.

I don't load the datasource of the report programmatically either, that is handled by the report itself, so can't even use that info.

Any pointers in the right direction would be greatly appreciated as it is frustrating the life out of me. 😊