Cascade Windows Problem With Forms.

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
 
G

Guest

All is now fine - it was all down to the PopUp property. When this was set to
True, cascade windows didn't work, but when it was set to False it all worked
perfectly...

Stuart
 

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