Newbies rpaulson9991 Posted July 11, 2011 Newbies Posted July 11, 2011 I am having in a little difficulty understanding how to us a self-join. I was told that this would be the solution but having a problem grasping the concept or just seeing how it would work. What I have is a inventory database about my inventory of computers monitor routers switches etc. The problem that I am having is how to handle a warranty replacement. I have tag numbers for the equipment that is linked to a PO. Example: Cisco Router dies and SmartNet replaces the router and the serial number changes, but the tag number would stay the same. I would like to keep the original serial number and the date installed in case I was asked what happened to the equipment and would like to beable to search by tag numbers. What would be the best solution? I have 4 tables tblReq autoindexReg req po reqdate podate parts ordered etc tblItems autoindexItems po tag device manuf serialnumber partnumber etc tblLocation autoindexLocation tag building room fname lname depart etc tblbuilding indexBuildingNumbers building
Newbies rpaulson9991 Posted July 12, 2011 Author Newbies Posted July 12, 2011 What exactly is a "tag number"? It is a 5 digit sequential number we give to the equipment when we put it into inventory. For easier management.
comment Posted July 12, 2011 Posted July 12, 2011 I am not still not sure I follow this fully. In any case, a self-join is created by defining a relationship between two occurrences of the same table, e.g.: Items::Tag = Items 2::Tag This would allow you to place a portal on a layout of Items showing records from Items 2. These would be all "sibling" items sharing the same tag number. Of course, you can skip the self-join and simply find all items that have the tag number of the current record.
Recommended Posts
This topic is 4903 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now