i am using Access 97.
my table has the following fields:
Site1Name
Site1RowW1
Site1BayW1
Site1ShelfW1
Site1RowW2
Site1BayW2
Site1ShelfW2
Site1RowP1
Site1BayP1
Site1ShelfP1
Site1RowP2
Site1BayP2
Site1ShelfP2
Site2Name
Site2RowW1
Site2BayW1
Site2ShelfW1
Site2RowW2
Site2BayW2
Site2ShelfW2
Site2RowP1
Site2BayP1
Site2ShelfP1
Site2RowP2
Site2BayP2
Site2ShelfP2
The above are equipment locations and what i need is to make sure no locations can be duplicated. it doesn't matter if i enter the info under Site1 or Site2 and it doesn't matter if the info is entered under RowW1 or RowP2. i need an unique row/bay/shelf for the SiteNames.
So, the following would be an entry:
Site1Name: Building1
Site1RowW1:1
Site1BayW1:2
Site1ShelfW1:3
And the following could NOT be an entry:
Site2Name: Building1
Site2RowW1:1
Site2BayW1:2
Site2ShelfW1:3
Once SiteName: Building1/row:1/bay:1/shelf:1 is an entry, that combination cannot be entered for ANY other set of fields.
i went to the table and made a multiple index, but i could only figure out how to make sure noone entered the same data for site1. How can i make it so i don't care if the info is entered into Site1 or Site2, i want an unique set of records for the fields SiteName, SiteRow, SiteBay, SiteShelf.
hope i was clear. thanks in advance for your help!
my table has the following fields:
Site1Name
Site1RowW1
Site1BayW1
Site1ShelfW1
Site1RowW2
Site1BayW2
Site1ShelfW2
Site1RowP1
Site1BayP1
Site1ShelfP1
Site1RowP2
Site1BayP2
Site1ShelfP2
Site2Name
Site2RowW1
Site2BayW1
Site2ShelfW1
Site2RowW2
Site2BayW2
Site2ShelfW2
Site2RowP1
Site2BayP1
Site2ShelfP1
Site2RowP2
Site2BayP2
Site2ShelfP2
The above are equipment locations and what i need is to make sure no locations can be duplicated. it doesn't matter if i enter the info under Site1 or Site2 and it doesn't matter if the info is entered under RowW1 or RowP2. i need an unique row/bay/shelf for the SiteNames.
So, the following would be an entry:
Site1Name: Building1
Site1RowW1:1
Site1BayW1:2
Site1ShelfW1:3
And the following could NOT be an entry:
Site2Name: Building1
Site2RowW1:1
Site2BayW1:2
Site2ShelfW1:3
Once SiteName: Building1/row:1/bay:1/shelf:1 is an entry, that combination cannot be entered for ANY other set of fields.
i went to the table and made a multiple index, but i could only figure out how to make sure noone entered the same data for site1. How can i make it so i don't care if the info is entered into Site1 or Site2, i want an unique set of records for the fields SiteName, SiteRow, SiteBay, SiteShelf.
hope i was clear. thanks in advance for your help!