G
Guest
I get the above message when running the following code.
What is the problem?
Dim MyDb As Database, MySet As Recordset
Set MyDb = CurrentDb
Set MySet = MyDb.OpenRecordset("QueryAv")
MySet.Edit
MySet![Booking ID] = lngNext
MySet.Update
MySet.Close
Set MySet = Nothing
Thanks in advance.
What is the problem?
Dim MyDb As Database, MySet As Recordset
Set MyDb = CurrentDb
Set MySet = MyDb.OpenRecordset("QueryAv")
MySet.Edit
MySet![Booking ID] = lngNext
MySet.Update
MySet.Close
Set MySet = Nothing
Thanks in advance.