Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Dataset with no parameter result Post Reply Post New Topic
Author Message
Seabass
Newbie
Newbie
Avatar

Joined: 06 Jun 2009
Location: United States
Online Status: Offline
Posts: 32
Quote Seabass Replybullet Topic: Dataset with no parameter result
    Posted: 06 Jun 2009 at 9:51am

Good morning !

Pretty new at CRXI, wish me luck..... Scenario for my questions is this:

Looking for a material list per order #. Some order # do not have material, some do. I set a static parameter that ask for the order #. I also did the select expert thing and my prompt is working just fine. On my report, i put the order # on the pager header section and my material(s) should all be listed as records in the detail section.
 
All this is working as designed until i put an order # that has no material to be listed. I want  the report to still show the order # on the page header section, and in the details section, i would like to have a text box that say something like no record found....
 
Right now, the order # does not show and the report is blank....
 
Any help will be appreciated....
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 06 Jun 2009 at 12:04pm

I am guessing that you are using 2 tables here inner joined.

If that is the case try a left join to pull all records from your ORDER# table even if there are no matching records in the material table.
 
Also create a second report header that has your display info as you want for "No records Found...".
Conditionally suppress this section as "isnull(table.materila_field)=false"
If the joins are not the problem, try and display your parameter field in your Report Header (instead of the table field).


Edited by DBlank - 06 Jun 2009 at 12:05pm
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.020 seconds.