Hi Jacques,
I'll show you a very brief example of what I think you'd like to do. I chose this example because the necessary data are in the demo installation.
In the excel sheet "Sample_95.xls" there is a range called countryCodes with 3 values:
In the access demo V6_demo.mdb, we have a table, Employees, that has a field with country codes:
I want to use the Excel list as a filter for the employees list.
First I must save the excel list as a report and remember the name. Mine is XLCountries. I assume it is not necessary to show this.
Next, on our Employees report, we add CNTRY as a filter:
Next to "hook up" the excel filter as a pick list
Go to the List Options tab, and locate the Country filter on top
You need to specify "Select" as Search Type. Once you do this, you will be able to set further options:
Locate the Excel list you made above (XMCountries) and select it as the source:
Select the Code as the Value field and the Country as the Display field.
Save and go:
Notice, how the filter drop down uses the Display column (Country Name) while the list is actually filtered on the Country Code.
NOTE:
I showed one way of accomplishing this. The recommended way if you need to do this often, is to use the Dictionary to define this. In the dictionary, you can point to a reportID with Value and Display Name to be used as a suggested list when creating Drop down filters. This way, you would need to only define the drop down filter once, and use the same definition for all reports on the Employees table.
Best regards
Bo