open 1 form, then a second

M

Mark J Kubicki

I want to open a first form: "frmFixtureSchedulePrintOptions"
then after, and not until, that form has closed, open a second form:
"FixtureSchedule"

"frmFixtureSchedulePrintOptions" is modal, so I thought that it would delay
opening the second until it had been closed (this seems not to be the case)

the (partial) code behind a form's command button is:

stDocName = "frmFixtureSchedulePrintOptions"
DoCmd.OpenForm stDocName, acNormal

stDocName = "FixtureSchedule"
DoCmd.OpenReport stDocName, acPreview

thanks in advance,
mark
 
A

Allen Browne

The code is not opening the form modally.

Try:
DoCmd.OpenForm stDocName, WindowMode:=acDialog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top