G
Guest
Hi,
I'm having a problem cascading forms (the equivalent of choosing
Window>Cascade from the database menu). The relevant RunCommand doesn't work
(DoCmd.RunCommand acCmdWindowCascade), and nor does the menu option itself
when I have more than one form open. None of these forms are being opened as
multiple instances of the same form.
The line of code used to open each form is as follows (astrForm is the name
of the form, and oavarOpenArgs is an optional argument):
DoCmd.OpenForm astrForm, acNormal, , , acFormEdit, , oavarOpenargs
If the database window is hidden then all menu items on the Window menu are
disabled except for Unhide (these other options also don't work when calling
the relevant RunCommand constant via VBA).
I'm hoping that this is really something simple, such as a property (or
combination of properties) that I've set on the forms which have disabled
cascade. If all else fails, then my next port of call seems to be fiddling
around with API calls, and that just makes me think of sledgehammers and
walnuts...
Thanks in advance for any help!
Stuart
I'm having a problem cascading forms (the equivalent of choosing
Window>Cascade from the database menu). The relevant RunCommand doesn't work
(DoCmd.RunCommand acCmdWindowCascade), and nor does the menu option itself
when I have more than one form open. None of these forms are being opened as
multiple instances of the same form.
The line of code used to open each form is as follows (astrForm is the name
of the form, and oavarOpenArgs is an optional argument):
DoCmd.OpenForm astrForm, acNormal, , , acFormEdit, , oavarOpenargs
If the database window is hidden then all menu items on the Window menu are
disabled except for Unhide (these other options also don't work when calling
the relevant RunCommand constant via VBA).
I'm hoping that this is really something simple, such as a property (or
combination of properties) that I've set on the forms which have disabled
cascade. If all else fails, then my next port of call seems to be fiddling
around with API calls, and that just makes me think of sledgehammers and
walnuts...
Thanks in advance for any help!
Stuart