Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object or with block variable not set!!!!Urgent!!!!

Status
Not open for further replies.

Nithya

Technical User
Jul 18, 2001
15
PH
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top