This seems to be a common issue, I've read all the solutions to this I could find and I can't see where I'm still going wrong.
I have two forms, one is a continuous list of records the other is a single record showing further details.
From the single record form I save the record, then run a public subroutine which loops though all of the records and updates them, I then run a requery on both forms.
I won't put up the content of the public subroutine which uses record sets to update all the records just yet; as this subroutine is a little complex.
The first time I run through ExamVenueID_Aft erUpdate above, everything works fine, the second time I get the "The data has been changed" error.
I have saved the record, I don't understand what else I should do, any suggestions ?
I have two forms, one is a continuous list of records the other is a single record showing further details.
From the single record form I save the record, then run a public subroutine which loops though all of the records and updates them, I then run a requery on both forms.
Code:
Private Sub ExamVenueID_AfterUpdate() If Me.Dirty Then Me.Dirty = False UpdateExamVenueHireStatus Me.ExamVenueHireStatusID.Requery Forms.FRMExamVenueHire.Requery End Sub
The first time I run through ExamVenueID_Aft erUpdate above, everything works fine, the second time I get the "The data has been changed" error.
I have saved the record, I don't understand what else I should do, any suggestions ?
Comment