Here is a block of code I wrote in Access2003 and converted to
Access2010 and it works great:
DoCmd.OpenForm "frmGuestStorePurchases_pw"
Forms![frmGuestStorePurchases_pw]![cboReservation_pw] =
Forms![frmReservationEntry]![ReservationID]
Form_frmGuestStorePurchases_pw.cboReservation_pw_AfterUpdate
I added a new combo box on a form and copied/pasted/edited the code
above to look like this:
DoCmd.OpenForm "frmEmployeePurchases_pw"
Forms![frmEmployeePurchases_pw]![cboEmployee_pw] =
Forms![frmEmployees]![EmployeeID]
Form_frmEmployeePurchases_pw.cboEmployee_pw_AfterUpdate
But, when I compile this code I receive the error "Method of data
member not found". Why?
-kristinw