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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Label Parameters and Distinct

Status
Not open for further replies.

mholbert

IS-IT--Management
Jan 10, 2006
105
US
I am using Cr9 against a sql2k db. I am building a label report to generate patient labels. The scenario is when a doctor leaves, we need to be able to query the database and print one label for each patient who has been to see that doctor in a given period of time.

I built the report, and requested distinct records, but because of the date range parameter, it is still returning duplicate patients.

Any thoughts on how to make it return each patient only once?

MH
 
Group by patient number, whatever it is you use. Show the label details in group header or footer. Suppress the detail lines.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
I considered doing that, but it defeats the label functionality in CR.

Thanks, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top