purplecruz
New member
- Local time
- Today, 08:49
- Joined
- Apr 12, 2004
- Messages
- 8
I have a form with subforms that people use to make orders. When the button on the switchboard is clicked to fill out a form, a new blank order form opens. I would like to make it easy for people to access previous order forms for editing. I tried doing this by creating another form where someone can enter their name, the vendor name, and the date as criteria. I then have a button to click on to open that specific order form for editing. The problem is I keep getting an "object required" error message. Here is my code:
stDocName = "frmAcquisInfo"
DoCmd.OpenForm stDocName, (tblEmployee.[Employee_Name] = Forms!frmedit!cboempname) And (tblVendor.[Vendor_Name] = Forms!frmedit!cbovendor) And (tblAcquisInfo.[Date] = Forms!frmedit!txtDate), , stLinkCriteria
Can anyone help me?
Thanks purplecruz
stDocName = "frmAcquisInfo"
DoCmd.OpenForm stDocName, (tblEmployee.[Employee_Name] = Forms!frmedit!cboempname) And (tblVendor.[Vendor_Name] = Forms!frmedit!cbovendor) And (tblAcquisInfo.[Date] = Forms!frmedit!txtDate), , stLinkCriteria
Can anyone help me?
Thanks purplecruz