Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Formula shows blank records Post Reply Post New Topic
Author Message
louisville2k10
Groupie
Groupie
Avatar

Joined: 13 Sep 2010
Location: United States
Online Status: Offline
Posts: 45
Quote louisville2k10 Replybullet Topic: Formula shows blank records
    Posted: 17 Dec 2010 at 6:32am

I've got four tables of data:

Table A
Username
WidgetApurchased
 
Table B
Username
WidgetBpurchased
 
Table C
Username
WidgetCpurchased
 
TableD
Username
WidgetDpurchased
 
I want to bring in the widgets purchased from each table to get a Total Widgets Purchased field. Unfortunately, when some WidgetPurchased fields are null, then summation formula also returns null.
 
Example:
 
Username               Widget A          B             C           D             Total
John                           500             233           -           40               -
Peter                         350              400          30          40            820
Paul                             -                 300         300        300            -
 
How can I make my summation formula still show the summary of the widgets purchased even if one of the widgets purchased categories doesn't show anything?
 
Thanks for the help!
 
Thanks for your help!
IP IP Logged
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Posted: 17 Dec 2010 at 9:50am
Maybe you can just default the fields with no value to 0 so that you can still sum over them.

Edited by Keikoku - 17 Dec 2010 at 9:50am
IP IP Logged
louisville2k10
Groupie
Groupie
Avatar

Joined: 13 Sep 2010
Location: United States
Online Status: Offline
Posts: 45
Quote louisville2k10 Replybullet Posted: 20 Dec 2010 at 4:43am
I was able to solve the problem by going to the database expert, checking the links, and making sure that the tables were linked in "Full Outer Join." Once that happened, the formula worked.
Thanks for your help!
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.016 seconds.