Hi
I need to update a table field based on a set order of priority of another field. Imagine I have the following table:
Customer
Brand
Primary
Customer and Brand are my primary key and I have to assign Primary the value "X" once to any given customer based on a specific order of priority for the value of Brand. The possible values for Brand and the order of priority are: 2,8,4,3 and 13. So if a customer exists in Brands 4, 8 and 13 the value for Primary will be set only against the record that has 8 as the Brand.
How can I program this in Access?
regards
Tim
I need to update a table field based on a set order of priority of another field. Imagine I have the following table:
Customer
Brand
Primary
Customer and Brand are my primary key and I have to assign Primary the value "X" once to any given customer based on a specific order of priority for the value of Brand. The possible values for Brand and the order of priority are: 2,8,4,3 and 13. So if a customer exists in Brands 4, 8 and 13 the value for Primary will be set only against the record that has 8 as the Brand.
How can I program this in Access?
regards
Tim