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

Identify records on change of field 1

Status
Not open for further replies.

TimothyP

Programmer
Aug 6, 2002
135
US
Hello,

I am using Crystal Reports 2013.

I have a SQL table with about 50K records that looks like this.
Screenshot_psnwvx.jpg


I want to identify the accounts that have an Inventory_Flag of 'Y' AND 'N'.

In other words, using the sample data above, the only Account I want to identify is 78989.

Thanks for any assistance you can provide.

TimothyP
 
Group on Account Number and then go to report->selection formula->GROUP and enter:

Distinctcount({table.inventory_flag},{table.acctno})>1

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top