Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Multiple Linking Post Reply Post New Topic
Author Message
Kitty1
Senior Member
Senior Member
Avatar

Joined: 14 Apr 2010
Online Status: Offline
Posts: 159
Quote Kitty1 Replybullet Topic: Multiple Linking
    Posted: 16 Jun 2011 at 10:19am
Hello,
 
I have 2 files (INVENTORY MASTER)  and  (BOM WHERE USED)
 
I am joining from a selected parameter to the BOM WHERE USED file, using COMPONENT field to join.  then i am picking up the PARENT and connecting back to the Inventory file, then joining back to the BOM WHERE USED, etc.  we can have up to 4 or 5 levels of where-used.
 
anyway, I want to list this data on my report, but I keep getting duplicates, triplicates, etc.   Am I doing something wrong ?
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 16 Jun 2011 at 11:23am
it sounds like the joins.
 
CR isn't good at getting x from a table and then using that to y from another which gives us z to get from the first table.
 
If you need to do something like that...which sounds overly complex, I would recommend a stored proc as you can select from a table and place the results in a temp table and use those results to get the next level until you are satisified with the results and then you can send the final values back to the report.
 
Probably not the answer you were after.
 
I am biased towards stored procedures just because you can have as much or as little complexity in the selection criteria and do so much more than you can with just CR and linking tables.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.018 seconds.