I would like pass a parameter to a crystal report through code and every article I've found on the topic has been too confusing for my simple mind.
Let's say I've got a report located on a shared drive (P:\report.rpt) for example.
The report has 1 parameter, "work order" to which I want to assign the value that is in field me.txtworkorder.text.
I've got a report viewer called rptviewer embedded on form frmReportViewer.
Can anyone help me with the rest.
Let's say I've got a report located on a shared drive (P:\report.rpt) for example.
The report has 1 parameter, "work order" to which I want to assign the value that is in field me.txtworkorder.text.
I've got a report viewer called rptviewer embedded on form frmReportViewer.
Can anyone help me with the rest.