I have a line of code to set the Report.PrintDate in VB6.How can we replace this line for CrystalDecisions.CrystalReports.Engine.ReportDocument ? In VB6 we have it is the inbuilt property for CRAXDRT.Report.
So can any once help me regarding this ?
I have a line of code to set the Report.PrintDate in VB6.How can we replace this line for CrystalDecisions.CrystalReports.Engine.ReportDocument ? In VB6 we have it is the inbuilt property for CRAXDRT.Report.
So can any once help me regarding this ?
if you want to show the current Date/Time of the printed report, you can use the built in Special Fields
within the report designer . From your comment I understand you want to set that programatically. Then you need to create a Parameter and set it from code.
You can watch this DEMO to get to know how to create parameters. This Answer would show you how to pass the parameter from code.