scouser
Registered User.
- Local time
- Today, 07:46
- Joined
- Nov 25, 2003
- Messages
- 767
Hi to all. I have the code below that opens frmSalesOrders when clicked from frmCustomers. I have other buttons that utilize code DoCmd.Close acForm, Me.Name and they function as required. In this instance frmCustomers remains open behind the form called frmSalesOrders.
Am I missing something obvious?
Thanks,
Phil.
Private Sub OrderID_Click()
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "frmSalesOrders", , , "OrderID = " & OrderID.Value
End Sub
Am I missing something obvious?
Thanks,
Phil.