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

Formula 1

Status
Not open for further replies.

golden1

Technical User
Sep 16, 2008
14
GB
Does anyone know how to create a formula to say 'Does not contain'?
 
There is more than one way to do this, but you haven't explained what you mean. I'm going to take a wild guess that what you really want to determine is whether there is a certain value in some set of records, i.e., per group. One sentence questions rarely provide enough info for a meaningful response. Please take the time to be more specific.

-LB
 
Hi - sorry for not being more specific. I actually wanted to see something that 'contains', not 'does not contain'. I want to say:

if {DNUCLEUS.NAME} contains "do not use" then Suppress

Thanks for your help.

Eve
 
Hi,
Would that field have more in it,
like
'do not use this record for data'
or does it have just
'do not use' ?
in the ones you want to suppress?


[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Hi

This field is the name of the client.

Some of the clients have been set up with 'clientname - DO NOT USE'. I want to suppress any clients with DO NOT USE from my report.

Thanks

Eve
 
Here is a way,,
I am using my inventory file where some description are entered do not use,, this give me a list of all of them
{IM_ITEMFILE.DESCRIPTION} like "*DO NOT USE"

You could do the same and say IS NOT LIKE..
 
Instead of suppression (maybe semantics) use your record selection expert
//
instr({DNUCLEUS.NAME},'DO NOT USE')>0

_____________________________________
Crystal Reports XI Developer Version
Intersystems Cache 5.X ODBC connection

 
I would allow for different cases:

ucase({table.field}) like "*DO NOT USE*"

-LB
 
I used:

ucase({table.field}) like "*DO NOT USE*"

this worked perfectly.

Thank you all for your responses.

Eve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top