Originally Posted by
jnoonan22
...Is there a difference between setting a form's property to modal and opening it normally (acNormal) and having docmd.openform in dialogue mode...
Setting the Modal Property to Yes makes the Form in question Modal, i.e. it must be closed before you can move to any other Form.
Using
DoCmd.OpenForm "ActualFormName", , , , , acDialog
means that the Modal Property is set to Yes and the Form opens with a modified 'Dialog Box' type border and the execution of the code in the calling Form is suspended until the called Form is closed.
Using
DoCmd.OpenForm "ActualFormName", , , , , acWindowNormal
opens the Form using the Properties as set in that Form's Properties Pane.
Originally Posted by
jnoonan22
...my choice was to...simply docmd.openform in normal mode. This resolves the disappearing form but unfortunately does not preserve the integrity of the macros, which depend upon freezing vba until data is acquired in newly-opened forms...
...Other possible solutions...
When you say
Originally Posted by
jnoonan22
...preserve the integrity of the macros, which depend upon freezing vba until data is acquired...
are speaking of verifying/validating that the users haven't opened the called Form but not enter any data before exiting the Form, or do they always enter some data but not all data that is required? If they enter some data (even a single character) you can validate that all required Fields are populated using the Form_BeforeUpdate event/B].
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007