I wanna to send parameters to cristal report from VB. THere is method of [parameterfields] of cristal repoprt but how it will be used because the syntax which is told us in help of cristal report is not accepted by VB.
Printable View
I wanna to send parameters to cristal report from VB. THere is method of [parameterfields] of cristal repoprt but how it will be used because the syntax which is told us in help of cristal report is not accepted by VB.
To pass parameters from vb to crystal you will need to create 2 empty formulas in the report eg startcode and endcode then use this code in the VB.
CrystalReport1.Formulas(0) = "startcode= " & txtStartCode.text
CrystalReport1.Formulas(1) = "endcode= " & txtEndCode.text
Also remove the parameters in the report.