Last post Mar 15, 2012 09:08 PM by Peter Cong
Mar 15, 2012 09:08 PM|Peter Cong|LINK
I want to get the data value after a Crystal report is opened, the field value in Report Header, Details and Report footer. I found this site :
it uses Str = Rpt.FormulaFields.GetItemByName("name_of_your_formula").Value, but I tried in VB.net 2008 and Crystai 8, I can not make it work.
As well, the following code returns the field name, but can not find a method to get the field value.
For d = 0 To myReportObjects.Count
myReportObject = myReportObjects.Item(d)
MessageBox.Show("myReportObject.Name.ToString() : " + myReportObject.Name.ToString())
Anybody knows how to get the field value on Crystal Report? thanks a lot if there are any examples.