Print Page | Close Window

When No Parameters are entered

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12050
Printed Date: 21 Apr 2025 at 2:44am


Topic: When No Parameters are entered
Posted By: pgreer
Subject: When No Parameters are entered
Date Posted: 12 Jan 2011 at 9:26am
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.
 
 



Print Page | Close Window