Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form opens as pop-up window even if form set to pop-up=No

Status
Not open for further replies.

Chummly66

MIS
Feb 19, 2005
106
US
Hey guys,

Got a stumper and can't figure it out.

I have a search form that allows me to find a record, and then double click on it to open the form with that record. The actual code is:

DoCmd.OpenForm "Workorders by Customer", , , " customers.customerID = " & Me.lstCustInfo, , acDialog

The problem is, that it always opens the "Workorders by Customer" form as a pop-up window even though the properties of the form has Pop-up = No, and Modal = No.

The form also acts Modal, in that if you open another form from this "pop-up form", the other forms always opens in the background and you cannot access it.

Any thoughts or advice would be appreciated!!

Richard

 
Take the acDialog off the end of your command. This has the effect of over-riding form properties and forcing it to open as a pop-up, so take it off and your form's pop-up and modal properties will be applied properly.

[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top