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

exclude fields that are null or have 4 blank spaces

Status
Not open for further replies.

John1Chr

Technical User
Sep 24, 2005
218
US
Hi all,

I'm using Crystal 11.5 and running off an ODBC warehouse table and I'm trying to exclude all of the fields which are null or have 4 empty spaces in them.

So far, I have:

and not isnull({warehouse table.field})

and I'm able to exclude the null fields.
 
Code:
isnull({field}) or {field} like '*    *'

'J

CR8.5 / CRXI - Discovering the impossible
 
Not Isnull{YourField}) or instr({YourField}," ")>0

The above will work regardless of where the 4 spaces are in the string.

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top