hi
I'm trying to use a code that used many times before but here it won't work.
here is the code, I have problem with
it's not the complete code.
all varaibles are decalred
problem:
for the .FindFirst line I get a message "The Object does not support this action" (Or something similar)
If I go over the .FindFirst line everything works fine, including editing and updating the recordset.
is it possible the .FindFirst won't work if MyTable is open on a form, either directly or using a query ?
I'm trying to use a code that used many times before but here it won't work.
here is the code, I have problem with
Code:
set MyRS = CurrentDB.OpenRecordset("MyTable")
for each Index in me.MyList.itemsSelected
MyRS.FindFirst "MyTableKey = " & MyList.itemsSelected.column(0)
MyRS.Edit
...
next Index
it's not the complete code.
all varaibles are decalred
problem:
for the .FindFirst line I get a message "The Object does not support this action" (Or something similar)
If I go over the .FindFirst line everything works fine, including editing and updating the recordset.
is it possible the .FindFirst won't work if MyTable is open on a form, either directly or using a query ?
Last edited: