Results 1 to 4 of 4
  1. #1
    spleewars is offline Novice
    Windows XP Access 2002
    Join Date
    Feb 2012
    Posts
    26

    Use dbseechanges option with openrecordset

    I've migrated the whole database to SQL server and i got popup up with this error:

    "error 3622 you must use the dbseechanges option with openrecordset when accessing a sql server table that has an identity column"




    Debugging the issue is directing me to this line:

    Set rst = CurrentDb.OpenRecordset("Select * from registrygz")


    any guideline?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    This type of thing:

    Set rst = CurrentDb.OpenRecordset("Select * from registrygz", dbOpenDynaset, dbSeeChanges)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    spleewars is offline Novice
    Windows XP Access 2002
    Join Date
    Feb 2012
    Posts
    26
    Quote Originally Posted by pbaldy View Post
    This type of thing:

    Set rst = CurrentDb.OpenRecordset("Select * from registrygz", dbOpenDynaset, dbSeeChanges)
    Big thanks for your help once again

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problemo!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. db.OpenRecordset error
    By jscriptor09 in forum Programming
    Replies: 4
    Last Post: 01-27-2012, 12:17 AM
  2. dbSeeChanges
    By swagger18 in forum Programming
    Replies: 3
    Last Post: 11-23-2011, 08:28 AM
  3. OpenRecordset multiple criteria
    By bbrazeau in forum Queries
    Replies: 10
    Last Post: 11-03-2011, 10:01 AM
  4. DLookup in strSQL for OpenRecordset
    By szucker1 in forum Programming
    Replies: 2
    Last Post: 07-30-2011, 06:00 PM
  5. OpenRecordset vs. Query
    By crispy-bacon in forum Programming
    Replies: 7
    Last Post: 07-04-2011, 09:52 AM

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