Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2004
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy object required error

    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.

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Is this aCls an object you wrote yourself?
    OracleGuy

  • #3
    New Coder
    Join Date
    Aug 2004
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes i wrote it.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •