hi
i have to set the logon parameters for a crystal report from VB.i placed the crystal report control in the form and assigned the logon parameters.While running the form,it gave the following error:
"Runtime Error 91: Object or with block variable not set"
I suppose that the crystalreport objectred must be instantiated.code is :
dim rep as crystalreport
*******
set rep = new ?????????
******
rep.action=1
rep.logonserver("pdsora7.dll","servername","databasename","username","password"
What is the value for that ??????
Can somebody help me out on this?
its very urgent
thanks in advance
nit
i have to set the logon parameters for a crystal report from VB.i placed the crystal report control in the form and assigned the logon parameters.While running the form,it gave the following error:
"Runtime Error 91: Object or with block variable not set"
I suppose that the crystalreport objectred must be instantiated.code is :
dim rep as crystalreport
*******
set rep = new ?????????
******
rep.action=1
rep.logonserver("pdsora7.dll","servername","databasename","username","password"
What is the value for that ??????
Can somebody help me out on this?
its very urgent
thanks in advance
nit