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!

ignore customers without state entered

Status
Not open for further replies.

bryan3473

MIS
Sep 25, 2003
21
US
Hi all i created a report that groups by state the only problem im having is that its reeturning the records with no state in them too. How do i tell it to ignore the customers with no state entered in it when i do the grouping.
 
If you mean you don't want those customers in the report, then use a record selection formula of:

not isnull({table.state}) or
trim({table.state}) <> ""

-LB
 
thanks for responding it tells me the formula result must be a string and puthe the cursor in front of the word not. Im using version 8.5 if that helps
 
I assumed that {table.state} was a string--correct? Can't see any reason why you would get that message. Did you place it in report->selection formula->RECORD?

-LB
 
Well actually the state does not a have a place anywhere in the report. I created a grouping off the state field in one of the data sets, but didnt stick state in the report anywhere just let the grouping insert the state abreveation before each group. So my first group has no abreveation just a blank spot and then all the customer names.

???
customer 1
AL
customer 2

kinda like that.
 
What is it that you want to do? Do you want to eliminate customers with no states or do you want a name for the customer group with no state, e.g., "No Specified State"?

What is your grouping formula? Please show the contents.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top