B
BruceM
I have a command button on a main form to open a form (frmParam), which is
used for selecting report parameters. I set the border for frmParam to
None, then opened it by way of the Click event of a command button on the
main form:
DoCmd.OpenForm "frmParam", , , , , acDialog
My understanding of acDialog is that it sets the Pop-up and Modal properties
of the form to Yes. However, when I open the form in this way it ignores
that the border is None, and I get the application title bar (or whatever
exactly the top bar is called). However, if I set the Pop-up and Modal
properties of frmParam to Yes, and open it with:
DoCmd.OpenForm "frmParam"
the border is gone, as it should be, since I set it to None in the form's
property sheet.
This is a minor annoyance, but puzzling. What's the story here?
used for selecting report parameters. I set the border for frmParam to
None, then opened it by way of the Click event of a command button on the
main form:
DoCmd.OpenForm "frmParam", , , , , acDialog
My understanding of acDialog is that it sets the Pop-up and Modal properties
of the form to Yes. However, when I open the form in this way it ignores
that the border is None, and I get the application title bar (or whatever
exactly the top bar is called). However, if I set the Pop-up and Modal
properties of frmParam to Yes, and open it with:
DoCmd.OpenForm "frmParam"
the border is gone, as it should be, since I set it to None in the form's
property sheet.
This is a minor annoyance, but puzzling. What's the story here?