D
dch3
If I open a form using
DoCmd.OpenForm "frmShowInformationDetail", , , , acFormAdd, acDialog, NewData
is there a way to detect that acDialog was used for the WindowMode
parameter. Basically, I would like the form to detect if it was opened as
acDialog and if so disable one or more controls. Given that acDialog suspends
code from executing until the form is closed, I can't manipulate the form
from the form that opened it.
I'd like a more graceful way than using DoCmd to open the form as a hidden
form, changing the controls and then executing DoCmd again to display it as a
Dialog.
DoCmd.OpenForm "frmShowInformationDetail", , , , acFormAdd, acDialog, NewData
is there a way to detect that acDialog was used for the WindowMode
parameter. Basically, I would like the form to detect if it was opened as
acDialog and if so disable one or more controls. Given that acDialog suspends
code from executing until the form is closed, I can't manipulate the form
from the form that opened it.
I'd like a more graceful way than using DoCmd to open the form as a hidden
form, changing the controls and then executing DoCmd again to display it as a
Dialog.