Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Filter

Status
Not open for further replies.

kutoose

Technical User
Sep 11, 2002
169
US
Crystal Reports 10
Oracle 9

Can we have conditonal filters in Crystal 'Select Expert' ???
This filter is based on parameter.

If the parameter is > 12 then Table.Year = [Year(CurrenDate)]
else
Table.Year = Year(CurrentDate)-1


I cannot use a stored procedure for this report.

Thanks !

kutoose@yahoo.com
 


//@TableYear
If the {?parameter} is > 12 then
Table.Year = Year(CurrenDate)
else
Table.Year = Year(CurrentDate)-1


Then in your record selection, use the following

year(table.year) = {@TableYear}


Hope this helps

-LW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top