Topic: Displaying Report Header (when no data) Posted: 21 Jun 2012 at 7:59am
Hi,
I am fairly new to Crystal, and am using CR 2008 version. I have a report which needs to be modified. My report is designed in following way:
1. Report details - fetches & displays data from db (say x) based on dates from db (say y)
2. Report header - fetches & displays header which includes dates from db y
My problem is: for a query which returns no data from db x (based on the dates from db y), my header report gets suppressed automatically. I have valid dates from db y, however the header do not display them since the detail section is blank. (maybe this is because of the inner-join on db x & y).
My header say "Report for the range: (from) & (to)". So even when there is no data to be displayed, I still want the header to show the date range. Any suggestions on how I can handle this situation?
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 22 Jun 2012 at 3:55am
I would make sure you're linking from y to x and make the join a Left Outer Join (right click on the join and select Link Options.) This will get you data from y even if there is no corresponding data in x.
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