in my report i have a field to display the persons name who generated the report. i have global variable and i take the persons name into that when he log in to the application. how can i display that in my report.
I think I know what you want to do. It is better if you do with this from Form. When you generated the report some text from windows from will show in your report.
Like if you have Text field Object named "Text1" in crytalreport.
VB.NET:
Dim N As New ReportObject
Dim FObj As CrystalDecisions.CrystalReports.Engine.TextObject = N.ReportDefinition.ReportObjects("Text1")
FObj.Text = "Client Name"
N.SetDatasource(Dataset)
crystalreportviewer.reportsource=N
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.