Results 1 to 9 of 9
  1. #1
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72

    OraOLEDB Accessor is not a parameter accessor

    Hi all... I'm having a problem reading a back-end table and I hope to find a solution. I've never seen this error before and it's probably related to the back-end database but I think maybe someone here may have seen it before. I'm trying to read a table in ADO that seems to have problems with two "date" fields and both raise this error only on certain records and independantly of each other. The error is: Error -2147217845 was generated OraOLEDB Accessor is not a parameter accessor at line# 800. The error is part of my generic error routine of course but hopefully the meaning is apparent. Thanks in advance for any help and responses on this issue. ...Glenn

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Disable the error handler and let the debugger stop on the line of code that triggers the error. Check status and content of variables. Identify circumstances causing the error.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72
    I have done as you suggested with the same results, only the error displays in native Access format with a Debug option. Run time error '-2147217845 (80040e4b)': Accessor is not a parameter accessor. When I click the Debug button, the date field displays nothing, not even null and the other fields on the record I debug.printed had values just fine.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    So what is it about the records that are different? You say date field displays nothing, did you mean a date variable? If there is a date value in the record, how can it not be available in the recordset?

    Would have to review data and code to analyse issue.

    This is a split db? What is the backend?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72
    The backend is Oracle. My ADO code reads and debug.prints over 15,000 records and then it hits the bad date, stops, and when I hover the mouse over each record field that is debug.printed, the bad date field shows no value at all and the others that I've included in the debug.print look fine. Also, the column with the bad date prints okay until it hits the bad one. Not enough to go on, I guess. The code I'm using to read the table is the same as some I've used many, many times. Also, the table is part of an application that crashes when it tries to access any of these date fields. Maybe a question for the DBA?

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    the column with the bad date prints okay until it hits the bad one.
    What is the value of a Bad one? That is, what exactly is a bad one???

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I am not familiar with Oracle. Could individual records be corrupted?

    Yes, talk to the DBA.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72
    The "Bad One" is blank. No value whatsoever. Not an empty string. And not null. And it throws the aforementioned error.

  9. #9
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72
    Mainly by contact with Oracle is only as a back-end. So, as I said, the error is new to me, also. I'll talk to the DBA.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Parameter
    By smarty84handsome in forum Reports
    Replies: 2
    Last Post: 07-18-2013, 08:10 PM
  2. Replies: 1
    Last Post: 02-28-2013, 01:20 PM
  3. SQL parameter
    By NISMOJim in forum Programming
    Replies: 15
    Last Post: 11-02-2012, 08:56 PM
  4. Parameter Value
    By snormannews in forum Access
    Replies: 3
    Last Post: 05-03-2012, 07:12 AM
  5. Replies: 13
    Last Post: 01-10-2012, 09:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums