Second form appears behind the first

K

Kiers

Hi All,

I have a form with a button that when selected opens a second form,
which appears behind the first - neither form has modal or popup set
to 'yes'. Can someone please explain why this is happening and how to
prevent it?

the command to trigger the second form is

DoCmd.OpenForm "frmOrder", acNormal, , "ID = " & Me!
sfrInProgress.Form.Controls!OrderID, acFormEdit, acWindowNormal

Rgds

Kiers
 
T

Tom van Stiphout

On Wed, 1 Oct 2008 05:00:25 -0700 (PDT), Kiers

This one looks fine. How about the code for the first one?

-Tom.
Microsoft Access MVP
 
K

Kiers

On Wed, 1 Oct 2008 05:00:25 -0700 (PDT), Kiers


This one looks fine. How about the code for the first one?

-Tom.
Microsoft Access MVP







- Show quoted text -

Tom,

thanks - the answer is in your question :)

'hidden' in the basRibbonCallbacks code I found;

DoCmd.OpenForm "frmOrdersall", acNormal, , , acDialog

I have now changed it to acWindowNormal and all is well

Thanks Again

Kiers
 

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

Similar Threads


Top