Click here to Skip to main content
15,896,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to display those details in a crystal report from a database table where date-column has the maximum value.
How can i do it? Actually I need the filter syntax for 'Maximum' function.
Posted
Updated 2-Jun-10 19:25pm
v3

So whats the issue?

There can be two ways to do it:
1. Only get those data from database that has this maximum value condition. Thus, SQL query would have a filter.
2. In crystal report, you can use Formula Fields. You can make any expression you want to and display accordingly.

For filtering data in Crystal report, have a look at this [^]sample.
 
Share this answer
 
v2
NileshPandey wrote:
Actually I need the filter syntax for 'Maximum' function.


Try:
MIDL
Maximum({fieldname})


A simple Google[^] gave these, have a look at them for reference:
http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21072812.html[^]
http://stackoverflow.com/questions/475043/minimum-maximum-values-in-crystal-reports-2008-column[^]
http://forums.asp.net/t/1128914.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900