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!

Excluding Records

Status
Not open for further replies.

zenzabar

Technical User
Jan 24, 2007
24
US
Using Crystal XI

I need to exclude any instance of records with TAB; thought a simple IF statement would work, but did not.

My data to exclude looks like this:

Zocor (25mg) TAB
Synthroid (.01mg) TAB
 
Hi,
In your record selection formula try this:

NOT ({Table.Field} like *TAB*)


[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Just a tweak:

NOT ({Table.Field} like "*TAB*")

If "TAB" could be in other cases, use:

not(ucase({table.field}) like "*TAB*")

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top