Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: When No Parameters are entered Post Reply Post New Topic
Author Message
pgreer
Newbie
Newbie
Avatar

Joined: 10 Nov 2010
Location: United States
Online Status: Offline
Posts: 7
Quote pgreer Replybullet Topic: When No Parameters are entered
    Posted: 12 Jan 2011 at 9:30am
I want to be able to enter any 1 parameter and return all the records.  It returns none even though i have it set as an optional prompt.  Probably something simple that I am not seeing.   Here is my code i am at a loss.
 
 
{PAUDIT.DATE} = Minimum(not HasValue({?Start Date(yyyyMMdd)}) and
{PAUDIT.DATE} = Maximum(not HasValue({?End Date(yyyyMMdd)}) and
(not HasValue({?Medical Record Number}) OR {PAUDIT.MR_NUM} =
{?Medical Record Number}) and
(not HasValue({?Accession Number}) OR {PAUDIT.ACC_NUM} =
{?Accession Number})
 
Thanks in advance.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Jan 2011 at 4:13am
(not(hasvalue({?start Date})) or {PAUDIT.DATE} in {?start Date} to {?End Date})
and
(not(hasvalue({?Medical Record Number})) or {PAUDIT.MR_NUM} =
{?Medical Record Number})
AND
(not(hasvalue({?Accession Number})) or {PAUDIT.ACC_NUM} =
{?Accession Number})
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.