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

Checking previous initials

Status
Not open for further replies.

GMAN33

IS-IT--Management
Dec 4, 2002
115
US
Hi Gang,

I have one table that collects patient data grouped by patient by visit number. Patients can have muliple visits. At each visit, the doctor that is assigned needs to inital the records. I need to check at each visit if the initials are the same for the previous record. But I don't want to check the previous patient data...so the formula would need to reset on each group

Any help would be appreciated...CR9

Thanks
 
Try something like:

if {table.patientID} <> previous({table.patientID} then "" else
if {table.initials} = previous({table.initials}) then "Same" else "Different"

-LB
 
That worked great...thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top