I am trying to populate a listbox with values from a master table.
1. User selects multiple selection from listbox and clicks save.
The values will be save to master table: Tbl_Main_Clinical field: CL_resp_consult
The values will be save to the table field as - sample1/sample2/sample3
I am using code StrSql = "INSERT INTO... to do this and it works great.
2. In my update form I would like to have the same list box with the selections.
BUT what I am looking for is the 3 samples to be highlighted as how the user selected them in the original entry.
Using this form they can unhighlight and select maybe some other entry if needed.
I have created the same listbox with the same list selection as the originals one.
Control Source: Cl_resp_consult - this points to the master table that has the values.
Row Source: This is just the SELECT from the table that gives me the group that makes up the list selection for the users.
Looked at all the other variables in the property sheet but not sure what to do.
Need some ideas and guidance please.
1. User selects multiple selection from listbox and clicks save.
The values will be save to master table: Tbl_Main_Clinical field: CL_resp_consult
The values will be save to the table field as - sample1/sample2/sample3
I am using code StrSql = "INSERT INTO... to do this and it works great.
2. In my update form I would like to have the same list box with the selections.
BUT what I am looking for is the 3 samples to be highlighted as how the user selected them in the original entry.
Using this form they can unhighlight and select maybe some other entry if needed.
I have created the same listbox with the same list selection as the originals one.
Control Source: Cl_resp_consult - this points to the master table that has the values.
Row Source: This is just the SELECT from the table that gives me the group that makes up the list selection for the users.
Looked at all the other variables in the property sheet but not sure what to do.
Need some ideas and guidance please.