Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Complex Multi-Table Report w/Subreports Post Reply Post New Topic
Author Message
jkjackson
Newbie
Newbie


Joined: 27 Jul 2011
Location: United States
Online Status: Offline
Posts: 6
Quote jkjackson Replybullet Topic: Complex Multi-Table Report w/Subreports
    Posted: 05 Sep 2012 at 3:54am
I work for a financial institution am needing to build a report that consist of the followiing tables of member information:
 
Member Table
DepositAcct
LoanAcct
CreditCardAcct
 
All three tables contain the primary key of mb-num. I need to create a report that lis members that only have an deposit account = 00 and nothing else. I want to filter out all members who have active checking, loan, credit card and multiple savings accounts.
 
I can easily do individual reports on each table to show if a member has that account type (ie loan, checking, credit card) but i am not sure how to all four tables into one report so that it shows a true report of that one member type.
 
Thanks for any assistance.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 05 Sep 2012 at 3:58am
Try this:
 
When you set up your joins from Member Table to the LoanAcct and CreditCardAcct tables, make the joins Left Outer by right-clicking on the join and editing it.
 
Then, in the Select Expert, edit the formula to include the following:
 
IsNull({LoanAcct.mb-num}) and IsNull({CreditCardAcct.mb-num})
 
This should filter out all members who have loans and credit cards.
 
-Dell
IP IP Logged
jkjackson
Newbie
Newbie


Joined: 27 Jul 2011
Location: United States
Online Status: Offline
Posts: 6
Quote jkjackson Replybullet Posted: 05 Sep 2012 at 8:57am
Man, all this time i have been told that i would need subreports and shared variables. All i needed was to change the links and add a running total field. Hilfy, Next time your in the tri-cities area, lunch is on me!
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.000 seconds.