I'm trying to update a table, but when I get to the ".edit" line in my coding, I get the error message: "Run-time error 3251 - Operation is not supported for this type of object"
I've played around with changing some of the variables, but the samthin happens.Any ideas?
The table being updated is a local one within the db.
Relevant code bits:
I've played around with changing some of the variables, but the samthin happens.Any ideas?
The table being updated is a local one within the db.
Relevant code bits:
Code:
Dim CaseDetails As Recordset
Set CaseDetails = CurrentDb.OpenRecordset("PathwayCases")
CaseDetails.FindFirst "[NHS]='" & SaveNHS & "' AND [Referral]=" & SaveReferralRef
CaseDetails.Edit
Comment