Y
yator
I have a Form with a Subform. The Form contains a multi-select List Box for
selection of records to add to the Subform. I can’t seem to get the code
right to accomplish this. Any help would be very much appreciated.
FrmEvents (contains List Box: “lstDefs†& subform: “frmSubEventDefâ€)
Record Source: q_frm_event
Primary key: EventNo
lstDefs (Unbound)
Field 1: DefNo
Field 2: Defintion
Multi-Select: Extended
frmSubEventDef
Record Source: q_frm_event_defs
Field 1: EventNo
Field 2: DefNo
Link Child Fields: EventNo
Link Master Fields: EventNo
On selection of specific row(s) in lstDefs, the “DefNo†should be added to
the Subform: “frmSubEventDefâ€
selection of records to add to the Subform. I can’t seem to get the code
right to accomplish this. Any help would be very much appreciated.
FrmEvents (contains List Box: “lstDefs†& subform: “frmSubEventDefâ€)
Record Source: q_frm_event
Primary key: EventNo
lstDefs (Unbound)
Field 1: DefNo
Field 2: Defintion
Multi-Select: Extended
frmSubEventDef
Record Source: q_frm_event_defs
Field 1: EventNo
Field 2: DefNo
Link Child Fields: EventNo
Link Master Fields: EventNo
On selection of specific row(s) in lstDefs, the “DefNo†should be added to
the Subform: “frmSubEventDefâ€