Fred,
I used the method discribed and it worked fine except when I try to populate
the form with values from the main form, it tells me it can not find the
popup form. If I use acWindowNormal, the popup form populates properly
however it allows the user to click on other forms without completing the
popup. Below is the code I am using
Private Sub CS_New_Click()
If Me.CS_New Then
Dim strACDID As String
Dim strMONUM As String
Dim strMO As String
strACDID = Forms![frm_ACD_VA_Purchasing]![TransID]
strMO = Forms![frm_ACD_VA_Purchasing]![Manufacturer]
strMONUM = Forms![frm_ACD_VA_Purchasing]![MO_ID]
DoCmd.OpenForm "frm_ZBM", acNormal, , , acFormEdit, acDialog
DoCmd.GoToRecord , , acNewRec
Forms![frm_ZBM]![ACD_ID] = strACDID
Forms![frm_ZBM]![MO_No] = strMONUM
Forms![frm_ZBM]![Manufacturer] = strMO
DoCmd.GoToControl "Category"
End If
End Sub
Thanks
Jason