Hi,
I am Sajjad, I face some problem in calling crystal report.
I used command
thisform.rpt1.reportfilename="c:\sajjad\hrtest\cardlabelj1.rpt"
*thisform.rpt1.action=1
thisform.rpt1.printreport
If i am using prinreport. crystal screen comes and goes out of screen.
if I am using action=1 than giving error
OLE IDispatch exception code 0 from crystal report, cannot open SQL server.
I could not under stand...why its giving error for SQL server I am not using SQL server database....I am using Progress database through OLEDB for ODBC.
If I am running crystal report direct its asking parameter and giving actual result. when i am calling that report through VFP or VB its giving error.
Please help.
Sajjad Ahmad