Hi guys,
So I'm editing an existing database (Access 2003), and I need a bit of help in making a validation rule.
My table has many fields, 3 of which are indexed (location, number & revision)
Each of these 3 fields can have duplicates (Same location can exist for multiple items, same number can exist for multiple items, and same revision can exist for multiple items).
However, all 3 fields cannot be the same in multiple records (Ex.. There cannot be multiple items from location X, with Number 1, and revision A).
Is there a way to create a validation rule for the 3 fields in question to enforce this? If not, is there a way to code something like this into VBA?
Thanks!!
Ian
So I'm editing an existing database (Access 2003), and I need a bit of help in making a validation rule.
My table has many fields, 3 of which are indexed (location, number & revision)
Each of these 3 fields can have duplicates (Same location can exist for multiple items, same number can exist for multiple items, and same revision can exist for multiple items).
However, all 3 fields cannot be the same in multiple records (Ex.. There cannot be multiple items from location X, with Number 1, and revision A).
Is there a way to create a validation rule for the 3 fields in question to enforce this? If not, is there a way to code something like this into VBA?
Thanks!!
Ian
Comment