G
Guest
Hi,
I have a form (form a) with a list of buttons on it. When I click on a
(selection) button I am trying to get the form to go to another form (form b)
so the user can enter their name before continuing to the data entry form
(form c).
The code in form a basically says:
stDocName = "form b"
DoCmd.OpenForm stDocName, , , stLinkCriteria
stDocName = "form c"
DoCmd.OpenForm stDocName, , , stLinkCriteria
If I open form b manually of course I get the prompt and every thing is ok.
The problem I am getting is when I click on the button in form a the code
doesn't pause for the entry in form b and opens form c as well (and leaves
the focus on that form). The user hasn't had the opportunity to enter their
username.
It is Monday morning here and I've had a big weekend.
I have a form (form a) with a list of buttons on it. When I click on a
(selection) button I am trying to get the form to go to another form (form b)
so the user can enter their name before continuing to the data entry form
(form c).
The code in form a basically says:
stDocName = "form b"
DoCmd.OpenForm stDocName, , , stLinkCriteria
stDocName = "form c"
DoCmd.OpenForm stDocName, , , stLinkCriteria
If I open form b manually of course I get the prompt and every thing is ok.
The problem I am getting is when I click on the button in form a the code
doesn't pause for the entry in form b and opens form c as well (and leaves
the focus on that form). The user hasn't had the opportunity to enter their
username.
It is Monday morning here and I've had a big weekend.