T Thales750 Formerly Jsanders Local time Yesterday, 23:11 Joined Dec 20, 2007 Messages 3,610 Aug 12, 2013 #1 Is there an easy way to store a multiselect list box selection? Thanks all Last edited: Aug 12, 2013
boblarson Smeghead Local time Yesterday, 20:11 Joined Jan 12, 2001 Messages 32,059 Aug 12, 2013 #2 If using a normal list box, you can use code to iterate through the selections and save to a separate table. And to load it, in the form's On Current event you would do the reverse - to pull the values from the table and select them. Or, if you are using Access 2007 or above, you can set the field in the table to be a Multi-Valued field and then you can bind that field to a combo or list box and have it do the work for you. If you use that method you would want to read about how to use them in this article: http://office.microsoft.com/en-us/access-help/guide-to-multivalued-fields-HA001233722.aspx#BM7
If using a normal list box, you can use code to iterate through the selections and save to a separate table. And to load it, in the form's On Current event you would do the reverse - to pull the values from the table and select them. Or, if you are using Access 2007 or above, you can set the field in the table to be a Multi-Valued field and then you can bind that field to a combo or list box and have it do the work for you. If you use that method you would want to read about how to use them in this article: http://office.microsoft.com/en-us/access-help/guide-to-multivalued-fields-HA001233722.aspx#BM7