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

do not display record

Status
Not open for further replies.

techpielmorena

Programmer
Jan 24, 2006
3
US
Hi,

I have a report that includes the "phone" field. I would like for the final report to keep records with a blank "phone" field from showing on my list.

What would be a formula to accomplish this?
I'm using 8.5

Thanks in advance.
Jane

 
Write a record selection formula:

Not Isnull({YourField})

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
It depends on what value is held in the blank fields, are they nulls or blank strings "" ?

dgillz is right , use the record selection formula to filter these records from the report testing for the blank value

either

Not Isnull({YourField})

or

{YourField} <> ""

HTH



Gary Parker
MIS Data Analyst
Manchester, England
 
Code:
Not Isnull({Phone})
and
{Phone} <> ""

If you have nulls, they must be tested for first. Blank could mean either null data or space-filled.

I am assuming that phone number is a string field.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top