I have a table with Customer Preferences, for each preference I have assigned a binomial code eg preference 0001 = 1, preference 2 = 0010,preference 3 = 0100, preference 4 = 1000 and so on.
I now wish to create a query which will display the preferences of a particular customer.
The way I intend to do this is to give each customer a preference setting, eg 1101 would indicate that that customer has preferences 1,2 and 4.
Therefore I would like to pass 1000, 0100 and 0001 from a function to the criteria of a query. I have over 50 preferences therefore I need a way to pass mulitple criteria from a function.
The preference can either to a long int or a string.
Any ideas?
Regards,
Cage
I now wish to create a query which will display the preferences of a particular customer.
The way I intend to do this is to give each customer a preference setting, eg 1101 would indicate that that customer has preferences 1,2 and 4.
Therefore I would like to pass 1000, 0100 and 0001 from a function to the criteria of a query. I have over 50 preferences therefore I need a way to pass mulitple criteria from a function.
The preference can either to a long int or a string.
Any ideas?
Regards,
Cage