G
Guest
after editing/adding a record in a subform,
I'm executing a macro to update field from the subform to the mainform with a
series of 'setvalue' actions. After executing the 4th setvalue, the record
selection jumps to the first record in the subform and continues executing
with the fields in the first record.
I have a form with a subform displaying several records. After adding or
editing a record in the subform, I have a macro that updates fields in
mainform from a subform with a series of setvalue actions.
After executing the 4th setvalue action, regardless of what that setvalue
is, the focus resets to the first record in the subform and continues
executing with the field values in that record.
Also it doesn't matter exactly what step in the macro, just that it's the
4th setvalue action. I've inserted other action steps between the setvalue
action and it doesn't change, it's always after the 4th setvalue.
I've changed around the order in which the setvalue step execute and it
doesn't matter what the setvalue step does, nothing changes, it always
happens after executing the 4th setvalue action.
This is driving me crazy. Any ideas? ANYONE?
I'm executing a macro to update field from the subform to the mainform with a
series of 'setvalue' actions. After executing the 4th setvalue, the record
selection jumps to the first record in the subform and continues executing
with the fields in the first record.
I have a form with a subform displaying several records. After adding or
editing a record in the subform, I have a macro that updates fields in
mainform from a subform with a series of setvalue actions.
After executing the 4th setvalue action, regardless of what that setvalue
is, the focus resets to the first record in the subform and continues
executing with the field values in that record.
Also it doesn't matter exactly what step in the macro, just that it's the
4th setvalue action. I've inserted other action steps between the setvalue
action and it doesn't change, it's always after the 4th setvalue.
I've changed around the order in which the setvalue step execute and it
doesn't matter what the setvalue step does, nothing changes, it always
happens after executing the 4th setvalue action.
This is driving me crazy. Any ideas? ANYONE?