davidoff123
Programmer
Hi,
I am using a loop in my procedure which pops up 3 Inputboxes. The loop waits until the the user fills in some values and continues to work with those values after that:
Do Until ...
'some code ...
name=Inputbox("Name of the employee: ", "name"
firm=Inputbox("Firm of the employee: ", "firm"
id=Inputbox("ID of the employee:", id"
'some code ...
Loop
How can I replace these 3 Inputboxes by 1 Form that causes the Loop to stop and wait for the values to be entered?
The problem is that the loop continues with the next iteration after opening a form e.g. with Docmd.Openform. However, the next iteration may be dependent on what the user has entered into the form.
Thanks for your help
I am using a loop in my procedure which pops up 3 Inputboxes. The loop waits until the the user fills in some values and continues to work with those values after that:
Do Until ...
'some code ...
name=Inputbox("Name of the employee: ", "name"
firm=Inputbox("Firm of the employee: ", "firm"
id=Inputbox("ID of the employee:", id"
'some code ...
Loop
How can I replace these 3 Inputboxes by 1 Form that causes the Loop to stop and wait for the values to be entered?
The problem is that the loop continues with the next iteration after opening a form e.g. with Docmd.Openform. However, the next iteration may be dependent on what the user has entered into the form.
Thanks for your help