R
RayV
I have a form that opens with the detail hidden. After a selection is
made in a dropdown box in the form header an after update event runs
that:
unhides the detail
runs through the records to find the next null and sets the focus
to the record
When the dropdown box in the form header gets the focus the detail is
hidden again with an on got focus event for the dropdown box.
This all worked fine until we upgraded to 2007. Then what I believe
was happening was the after update event started running then the on
got focus (for the dropdown box) ran before the after update
finished. This caused the detail to be rehidden before the after
update event found the first null record to set the focus and it
bombed. I was able to 'fix' it by immediately setting the focus in
the after update to the detail of the form then find the first null.
Am I correct that the two events can run at the same time?
made in a dropdown box in the form header an after update event runs
that:
unhides the detail
runs through the records to find the next null and sets the focus
to the record
When the dropdown box in the form header gets the focus the detail is
hidden again with an on got focus event for the dropdown box.
This all worked fine until we upgraded to 2007. Then what I believe
was happening was the after update event started running then the on
got focus (for the dropdown box) ran before the after update
finished. This caused the detail to be rehidden before the after
update event found the first null record to set the focus and it
bombed. I was able to 'fix' it by immediately setting the focus in
the after update to the detail of the form then find the first null.
Am I correct that the two events can run at the same time?