Hey experts,
I have a simple import button that imports an Excel file. It's a simple table with headings and everything works fine except for one field.
One of my combo fields is causing an error. All other data is importing fine, even other combo box fields. The only difference with the one that isn't working is that the "Allow Multiple Values" is enabled.
Shortened list of Fields as an example:
Reference_ID (text), Control Activity (Memo), Status (Text), Regulating Body (Text)
The Status field and Regulating Body field have a Display Control of "Combo Box". Status works, Regulating Body doesn't. I've checked the Excel file and both fields are set to General data type.
I get the general error "MS Access was unable to append all data to the table." It is due to a key violation. The Regulating Body field does get its information from tbl_Regulatory. I don't understand why it won't import when the field contains one of the correct values from tbl_Regulatory. For example, one of the options in the combo box is SOX. In the Excel spreadsheet that I'm trying to import, SOX is correctly listed. Why would the fact that the field is based on a primary key of another table cause it not to work even though I'm putting in a valid value? Is there a way to get this import to work?
Thanks all!