S
seeker
The following code runs when a button is clicked.
DoCmd.OpenQuery "qryEditEmployerSpelling", acViewNormal, acEdit
emp_id.Requery
As you can see a query is opened giving the user the ability to change the
spelling of an employer. Then the combo box used to select the employer is
requeried so that the changes can be seen. The problem is that the changes
are not evident until the button is clicked again and then the previous
change is seen. User wants the change to be seen when query is closed and a
return to the form occurs. When I run the code step by step it does exactly
that but when I take the breakpoint out the change does not show until later.
What change is needed to accomplish what is needed?
DoCmd.OpenQuery "qryEditEmployerSpelling", acViewNormal, acEdit
emp_id.Requery
As you can see a query is opened giving the user the ability to change the
spelling of an employer. Then the combo box used to select the employer is
requeried so that the changes can be seen. The problem is that the changes
are not evident until the button is clicked again and then the previous
change is seen. User wants the change to be seen when query is closed and a
return to the form occurs. When I run the code step by step it does exactly
that but when I take the breakpoint out the change does not show until later.
What change is needed to accomplish what is needed?