I am using a datasheet and I update a field in my datasheet. In my AfterUpdate event, I call a subroutine that changes the next record based on changes of the first record. I am trying to requery the datasheet, but I am getting the following error message "You must save the current field before you run the Requery action".
I have tried
and neither one works.
The DoCmd and Me.Dirty are giving the following error message: "The macro or function set to the BeforeUpdate or ValidateRule property for this field is preventing Microsoft Access from saving the data in the field".
Thanks in advance.
I have tried
Code:
Me.Dirty = False
AND also DoCmd.RunCommand acCmdSaveRecord
The DoCmd and Me.Dirty are giving the following error message: "The macro or function set to the BeforeUpdate or ValidateRule property for this field is preventing Microsoft Access from saving the data in the field".
Thanks in advance.