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

How to select customers based on another field

Status
Not open for further replies.

mtenboer

Technical User
May 12, 2004
2
US
I am running Crystal Reports 8.5

I want to select customers who have purchased an evaluation product, but have not gone on to buy any of 3 full versions of the product. I have grouped records by customer then by product, but I can not see how to write this selection criteria. Any help would be greately appreciated.
 
This is a 4 step process:

1)Create a formula to test to see if they have purchased one of the Eval products:

If (ProductID} in [<<list all eval products here>>] then 1 else 0.

2) Create another formula to see if the bought the full product:

If (ProductID} in [<<list all full products here>>] then 1 else 0.

3) Perform simply summaries by customer on these 2 formulas.

4) The go to report, edit selection formula, group, and enter a selection formula:

Sum({@Evalformula},{CustID))> 0 and sum({@FullFormula},{CustID})=0

This will return only those customers that have purchased an eval product, but not a full product.

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top