G
Guest
I have a form with unbound text boxes on it to hold the selection parameters
for a report. The form is opened by the reports OnOpen event (DoCmd.Open form
"frmParameter", acNormal, "", "", acEdit, acDialog)
My problem started when I added a button to the form opening a second lookup
form. When I only open the form the second form opens on top of the parameter
form and I can perform the lookup and close the lookup form, it all works
fine. BUT when I open the parameter form through the reports OnOpen event the
lookup form opens behind the parameter form and never gets the focus. What am
I doing wrong?
for a report. The form is opened by the reports OnOpen event (DoCmd.Open form
"frmParameter", acNormal, "", "", acEdit, acDialog)
My problem started when I added a button to the form opening a second lookup
form. When I only open the form the second form opens on top of the parameter
form and I can perform the lookup and close the lookup form, it all works
fine. BUT when I open the parameter form through the reports OnOpen event the
lookup form opens behind the parameter form and never gets the focus. What am
I doing wrong?