MS Access VBA module for ODBC connected tables

Anonymous
2018-02-21T13:13:02+00:00

Hello Everyone,

Before migrating my Access table to SQL, my module was working great, but now after the migration and linking back while using the same frontend Access form, I got this message. The mode still returns the results what I needed, but here is the screenshot of popping message every time I open it.

It says, I must use 'dbSeeChanges' option with OpenRecordset. The below module shows yellow highlighted line where the error is. How should my module look like?

Need help. Thank you and appreciate your inputs.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2018-02-21T13:34:54+00:00

    Resolved!

    I rewrote the code as

    Set rstRecord = db.OpenRecordset (strSQL, dbOpenDynaset, dbSeeChanges)

    Thank you

    0 comments No comments

0 additional answers

Sort by: Most helpful