G
Guest
Hello,
I need some help with my form/sub-form. I'm just not getting it.
Master form (has 1 cbo and 3 txtboxes) is bound to Empl table. The cbo, an
emplNum is the PK/FK. The sub-form is based on a saved query and th emplNum
is the FK. Data on parent form should be read only and should change based
on the emplNum. If user selects a different emplNum, the values in the 2 txt
boxes and everything on the sub-form should change accordingly. Except for
the FK, all data on the sub-form should will be be modified.
The form is initially called from a menu. If the form is open, the use
change selects a different emplNum. I am passing the value of the key for
the first openign of the form via DoCmd.Open..... This is working fine.
however, when I attempt to select a diferent emplNum, I get a "Runtime error
3200 : The record cannot be deleted or changed because table <table name>
includes related records. "
I don't want to change another on the primary/master form. Can anyone help
me figure this out?
TIA,
Rich
I need some help with my form/sub-form. I'm just not getting it.
Master form (has 1 cbo and 3 txtboxes) is bound to Empl table. The cbo, an
emplNum is the PK/FK. The sub-form is based on a saved query and th emplNum
is the FK. Data on parent form should be read only and should change based
on the emplNum. If user selects a different emplNum, the values in the 2 txt
boxes and everything on the sub-form should change accordingly. Except for
the FK, all data on the sub-form should will be be modified.
The form is initially called from a menu. If the form is open, the use
change selects a different emplNum. I am passing the value of the key for
the first openign of the form via DoCmd.Open..... This is working fine.
however, when I attempt to select a diferent emplNum, I get a "Runtime error
3200 : The record cannot be deleted or changed because table <table name>
includes related records. "
I don't want to change another on the primary/master form. Can anyone help
me figure this out?
TIA,
Rich