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

Select Case

Status
Not open for further replies.

klaidlaw

Programmer
May 28, 2008
140
US
I am using Crystal Reports 11 Release 2

I want order lines 10, 11 ,12 to be exculded form the report when the sales order 11059 comes up I wasn't sure if anyone could help me. Thanks
 
Hi,
Can you identify which lines (records) are 10,11,12?

If it is a numeric value in a field then this should work as a record selection formula:
Code:
If {Tablename.SalesOrderField} = '11059'
 then
Not {Tablename.LineNumberField} in (10,11,12)
Else
True




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
do you want other values associated with records contain those line numbers or do you want them completely not included?

you could either use a record selection as indicated by Turk or suppress them in the section expert so that values can be used for other functions if needed.

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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top