View Full Version : object required error

08-29-2004, 08: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.

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

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