RalphS007
asked on
Access 2007
I have a database that i created for the organization i work for, and I have set a few fields on the main table to allow multiple values to where they can check all that apply, but when we try to input data, it doesn't allow the selection to save.
Do you get an error, or does the save just fail?
multiselect should be set to true
ASKER
In the data entry process, when i tick the boxes and click ok, the ok button doesn't do anything, but the cancel option works.
ASKER
here's a screenshot.
screen.jpg
screen.jpg
ASKER
It works if i enter it directly in the table but not if i do it into the form.
ASKER
Oh did i mention that it's a split database?
Do you need the multiselect to go into one field (eg. [REFERAL_TYPE]) or do you have seperate fields for each type (eg. [Email/Newsletter], [Facebook] etc.)
The easiest way to get it to work is to simply have a "Yes/No" data type for each type, and in your form simply make 9 checkboxes (using the checkbox tool in your toolbox) then label each checkbox (eg. Facebook) and then right click on each checkbox and click Properties then click the "Data" tabe and from the drop-down choose the field that relates to the checkbox.
I have attached an example database with a simple example of this. If you require the multiselected options to go into one field I suggest you use some VBA code to loop through the checked items. To assist you with that I would need a copy of form you are using.
example.accdb
The easiest way to get it to work is to simply have a "Yes/No" data type for each type, and in your form simply make 9 checkboxes (using the checkbox tool in your toolbox) then label each checkbox (eg. Facebook) and then right click on each checkbox and click Properties then click the "Data" tabe and from the drop-down choose the field that relates to the checkbox.
I have attached an example database with a simple example of this. If you require the multiselected options to go into one field I suggest you use some VBA code to loop through the checked items. To assist you with that I would need a copy of form you are using.
example.accdb
ASKER
all the values displayed there are listed in a single lookup field of a lookup table.
relationships-map.png
relationships-map.png
ASKER
more specifically out of the entire relationship map that you see above the following map shows the 2 tables directly associated with that specific field.
relationship-map2.png
relationship-map2.png
ASKER
lookup field values
lookup-field-values.png
lookup-field-values.png
ASKER
the lookup field values are the row source for the main table
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.