Filter a table using VB

Joined
Feb 3, 2006
Messages
2
Reaction score
0
Hi,
I'm trying to figure out a way I can update a specific record in a table (let's call it table1), using a form that is in no way linked to table1

I was hoping I'd be able to do something like this:

With currentdb.openrecordset("table1")
.filter="transactionid"=&strTransID
.Edit
.Fields(12).value = True
.Update
End With

But Access kicks up a fuss and says "operation is not supported for this type of object" (referring to the .filter line)

Any ideas what I could do as a work around?
 
Back
Top