Hello all,
I've a main form and a subform. In the main form I've a combobox which displays all the possible values for Field1 in Table1. I've a subform which displays all the fields in Table1, but I want this subform to be linked with the combobox. Meaning if I select something in the comobox for Field1, all the remaining fields should be shown in the subform.
Basically, all I want to let the user update the records, but the combox allows the user to type the name in. Therefore, when the user selects a value from combobox list, all the fields for that record should be shown in the subform.
Currently, I've set recordsource for the subform as
update_sch is my main form and combo13 is the combo I'm using, and ID is the field I want to link.
Any help on this is appreciated.
Thanks.
I've a main form and a subform. In the main form I've a combobox which displays all the possible values for Field1 in Table1. I've a subform which displays all the fields in Table1, but I want this subform to be linked with the combobox. Meaning if I select something in the comobox for Field1, all the remaining fields should be shown in the subform.
Basically, all I want to let the user update the records, but the combox allows the user to type the name in. Therefore, when the user selects a value from combobox list, all the fields for that record should be shown in the subform.
Currently, I've set recordsource for the subform as
Code:
SELECT Table1.ID
FROM Table1
WHERE (((Table1.ID)=[Forms]![update_sch]![combo13])));
update_sch is my main form and combo13 is the combo I'm using, and ID is the field I want to link.
Any help on this is appreciated.
Thanks.