sql - Crystal Reports - How to isolate first and last date in a field? -
i new joining site; have used reference in past. creating crystal report in need output first , last date off field db. have used "maximum" , "minimum" functions , instead outputs first , last date on field whole db!? trying use sql expression in crystal; yet have luck new sql expressions. have been using:
looking "le doc first sent date": "le doc last sent date": if {table.doctype} = "le" minimum ({table.date_delivered})
"le doc last sent date": if {table.doctype} = "le" maximum ({table.date_delivered})
when use above functions in crystal gives me date on each; same id items on report. also, duplicates same id item several times same date....odd....
the tables on report based off relational based db , tables linked appropriately.
report screenshot example below:
Comments
Post a Comment