CPGDeveloper
Board Regular
- Joined
- Oct 8, 2008
- Messages
- 190
Hi All~
I'm trying to create a recordset in VBA using a SQL linked table and am getting Error 3622 - "You must use dbChanges with the OpenRecordset...."
I tried to add that option but it seems to not make a difference. I have something like this --
Dim usql as string
Dim urs as DAO.Recordset
usql = "SELECT * FROM tbl1 WHERE tbl1.ID = 1;"
Set urs = CurrentDb.OpenRecordset(usql, , dbSeeChanges)
With or without the dbSeeChanges I'm still getting the error -- any help would be greatly appreciated. Thanks!
I'm trying to create a recordset in VBA using a SQL linked table and am getting Error 3622 - "You must use dbChanges with the OpenRecordset...."
I tried to add that option but it seems to not make a difference. I have something like this --
Dim usql as string
Dim urs as DAO.Recordset
usql = "SELECT * FROM tbl1 WHERE tbl1.ID = 1;"
Set urs = CurrentDb.OpenRecordset(usql, , dbSeeChanges)
With or without the dbSeeChanges I'm still getting the error -- any help would be greatly appreciated. Thanks!