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!

Record Selection

Status
Not open for further replies.

zenzabar

Technical User
Jan 24, 2007
24
US
Using XI -

My data looks like this

Patient# PatientName Text
12345 Tom Smith Closed by HARPER
12345 Tom Smith Closed by TURNER
12222 Anita Baker Closed by GRAHAM

These are all patients of HARPER, but contain notes by various providers. In trying to identify and put together a suggested closing list for HARPER; I want this to see only the record 12222, Anita Baker, Closed by GRAHAM.
 
First insert a group on the Harper field ({table.provider}), and a second group on patient# and then create a formula:

//{@providerclosed}:
if instr({table.text},{table.provider}) <> 0 then
1

Then go to report->selection formula->GROUP and enter:

sum({@providerclosed},{table.patientID}) = 0

This assumes that patients are assigned a consistent provider, even though comments are made by different people.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top