G
Guest
I'm using an OnExit in the last field in a subform to run a macro to update
fields in the main form, based on entries in the current record in the
subform. There's a series of Setvalue that work, but before executing a
specific one, it jumps to the first record in the subform (continuous list)
and executes the setvalue from the field in that record.
I've moved the setvalue statement around while stepping through the macro
and it always happens prior to executing this statement. It's just setting a
byte value from a field in the subform to a byte field in the main form. I
have another setvalue doing exactly the same thing that works ok.
The only thing I can see at all is that the db field names on the main form
and the sub form are the same (not the case for the other fields that work)
I hoping someone has some info so I don't have to do several changes just to
test the field name guess.
Any ideas?
Thanks
fields in the main form, based on entries in the current record in the
subform. There's a series of Setvalue that work, but before executing a
specific one, it jumps to the first record in the subform (continuous list)
and executes the setvalue from the field in that record.
I've moved the setvalue statement around while stepping through the macro
and it always happens prior to executing this statement. It's just setting a
byte value from a field in the subform to a byte field in the main form. I
have another setvalue doing exactly the same thing that works ok.
The only thing I can see at all is that the db field names on the main form
and the sub form are the same (not the case for the other fields that work)
I hoping someone has some info so I don't have to do several changes just to
test the field name guess.
Any ideas?
Thanks