Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4903 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.