I am building an inventory type database that compiles multiple items into a single item. The end result is a full inventory of an access control door. Each Door has an ID, each card reader has ID, each door position switch has an ID, each lock has an ID. Each peripheral device is linked to the Door ID to show which door the device is installed on. The issue I am having is when a door has multiple of a single device (ie. double door with two (2) door position switches). Each Door Position has its own ID even though they are on the same door. The ID numbers are compiled based on other information (CustomerID, SiteID, DoorID, DPSID). When I run query on all doors, the doors that have multiple Card Readers, multiple Locks, multiple Door Position Switches, the door is displayed twice with on the device ID of the multiple being the difference between the two. This makes it impossible to use the query to count how many doors we have.
Any suggestions?