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

Select Expert 1

Status
Not open for further replies.

needmoremoney

Technical User
Mar 30, 2005
123
0
0
US
Is there a way to filter out a complete line of records based on one field?

Example

Jobcode Id Name Amount1 Amount2
1 12 JH 123.09 333.22
1 12 JH 333.34 543.02
11 HK 222.22 1211.03
3 11 HK 233.33 333.33
5 32 AX 234.23 233.11

See.. for the third roll, I want to omit the entire line because there is no jobcode. The jobcode field is a string field. I tried this through the select expert but couldn't get it working.

Any ideas? Thanks much..
 
Try Report->Selection Formula->Record:

isnull({table.jobcode})
or
trim({table.jobcode}) = ""

-k
 
Sorry, I gave the the reverse...

Should be:

not(isnull({table.jobcode}))
and
trim({table.jobcode}) <> ""

-k
 
Hey synapsevampire, Thanks much. The codes works great but I found out that what I wanted to do was totally different from my original thought process. Thanks much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top