...

View Full Version : object required error



vivcode
08-29-2004, 07:32 PM
Set dbObject = Server.CreateObject("aCls.oEntry")
call dbObject.pInfo(frmID, vErrTxt, rsInfo) <== line 22

I got the following error at line 22
Error Type:
aCls (0x800A01A8)
Object required

I thought may be dbObject was not set correctly so I tried:
Set dbObject = Server.CreateObject("aCls.oEntry")
Set rsTypes = dbObject.getTypes(vErrTxt) <== worked fine
call dbObject.pInfo(frmID, vErrTxt, rsInfo) <== still error

The only difference between getTypes and pInfo is getTypes is a public function while pInfo is a public sub.

oracleguy
08-29-2004, 07:36 PM
Is this aCls an object you wrote yourself?

vivcode
08-29-2004, 07:51 PM
yes i wrote it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum