Optional Parameters Crystal 8.5 
Author Message
 Optional Parameters Crystal 8.5

Hello I was wondering if anyone had any good ideas on selecting
records for Crystal Reports using the record selector and multiple
optional and required parameter fields. It seems as if there must be
an easy way to do this. My attempts at using isnull()do not seem to
work very well or easily for that matter when I have multiple
parameters that are optional. Any help with this would really be
appreciated.

Thanks,

Jared Pamperin



Fri, 26 Aug 2005 22:46:32 GMT  
 Optional Parameters Crystal 8.5
Hi Jared,
    I have used selection statements like this:
If not isnull(parameter1) then field1 = parameter1 else true AND
If not isnull(parameter2) then field2 = parameter2 else true AND...

This will use the selection criterion if it exists, otherwise it will not
use that particular field if it is null.

Bob Holmes


Quote:
> Hello I was wondering if anyone had any good ideas on selecting
> records for crystal reports using the record selector and multiple
> optional and required parameter fields. It seems as if there must be
> an easy way to do this. My attempts at using isnull()do not seem to
> work very well or easily for that matter when I have multiple
> parameters that are optional. Any help with this would really be
> appreciated.

> Thanks,

> Jared Pamperin



Fri, 26 Aug 2005 23:10:33 GMT  
 Optional Parameters Crystal 8.5
Thank you very much This really helped me out.

Jared Pamperin

Quote:

> Hi Jared,
>     I have used selection statements like this:
> If not isnull(parameter1) then field1 = parameter1 else true AND
> If not isnull(parameter2) then field2 = parameter2 else true AND...

> This will use the selection criterion if it exists, otherwise it will not
> use that particular field if it is null.

> Bob Holmes



> > Hello I was wondering if anyone had any good ideas on selecting
> > records for crystal reports using the record selector and multiple
> > optional and required parameter fields. It seems as if there must be
> > an easy way to do this. My attempts at using isnull()do not seem to
> > work very well or easily for that matter when I have multiple
> > parameters that are optional. Any help with this would really be
> > appreciated.

> > Thanks,

> > Jared Pamperin



Sat, 27 Aug 2005 22:05:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Crystal Reports 8.5 Parameter Fields

2. Crystal Reports 8.5 date range parameter field - record selection that includes null date range

3. Crystal 8.5 - troubles with passing strings as stored procedure parameters

4. Stored procedure parameter with Crystal Report 8.5

5. Parameters set by ASP being ignored - Crystal 8.5

6. Running Crystal 8.5 Reports on Crystal 9 RAS

7. Crystal Reports 8.5 (VB6) to Crystal Reports NET (VB.NET) conversion

8. vb .net crystal reports not compatible with Crystal Reports 8.5

9. Crystal 8.5 Pro and Crystal from VS.Net

10. Using Parameter Queries with Optional Parameters

11. passing optional parameters to the parameters collection

12. Parameter to Stored Procedure CR 8.5 VB.Net Specified Cast Not Valid

 

 
Powered by phpBB® Forum Software