Hello All,
I am trying to get a variable from Crystal Reports Viewer in vb.net VB 2010.
Dim VehicleName As String = cryRpt.DataDefinition.GroupNameFields.Item("Group #1 Name").ToString()
I am trying to get the string after the report is refreshed.
In VB 6 I used to use this:
cryRpt.DataDefinition.GroupNameFields.Item("Group #1 Name").Text
But in the new 2010 version it doesn't seem to have this option.
What is the best way to accomplish this?
Thanks,
Charles.