I have a popup form (FRM1) which contains a list of names.
When I access FRM1 from another form (FRM2) I double click on the list box and the selected name is returned to a field/control on FRM2. That bit is easy as I just use "[Forms]![FRM2]![Control name]=[Listbox]" on the popup form.
I now need to be able to populate more than one 'Name' field on FRM2. Beside each control I've created a button which opens FRM1. The problem is, how do I declare the control to which I want to return the name to? I don't want to create a list box for every control I want to fill.
Anyone got any ideas?
Thanks, Dave
When I access FRM1 from another form (FRM2) I double click on the list box and the selected name is returned to a field/control on FRM2. That bit is easy as I just use "[Forms]![FRM2]![Control name]=[Listbox]" on the popup form.
I now need to be able to populate more than one 'Name' field on FRM2. Beside each control I've created a button which opens FRM1. The problem is, how do I declare the control to which I want to return the name to? I don't want to create a list box for every control I want to fill.
Anyone got any ideas?
Thanks, Dave