Joined: 08 Jun 2007
Online Status: Offline
Posts: 27
Topic: Selecting user realted fields Posted: 29 Oct 2009 at 7:33pm
We are trying to create a report that will give us information from user defined relationships from the same inventory table. We can easily get the information for the main number and the number of the related item but how do we get the description and other information for the related part # to show in the group?
This would be the layout:
Part #, Description, On hand, Related Part#, Description, on hand,
1234, New widget, 10 (main item) 9876, old widget, 9 (related item)
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 30 Oct 2009 at 6:25am
stored proc, or create a join to the same table using the related part number as the joining criteria...probably and outer join as, I'm guessing, not every part is related to another part.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum