Focal Point
(CLOSED)only display multiple parts

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3987085495

December 01, 2010, 09:40 AM
Donald
(CLOSED)only display multiple parts
I have a file with part numbers, and some parts are showing multiple times in the database. I only want to display the parts in my output if there are more than one occurence of that part.
For example the table may look like:
Part Qty
6203 100
6203 400
6204 200
6205 300
Only both instances of 6203 should display in the output.
Can someone tell me the most efficient way to achieve this?

This message has been edited. Last edited by: Donald,


Prod: WebFocus 7.7.3 Win 2003
Dev: WebFocus 7.7.3 Win 2003
December 01, 2010, 09:54 AM
Tony A
Try something like this -
TABLE FILE CAR
  SUM COMPUTE COUNTER/I9 = CNT.MODEL; NOPRINT
   BY COUNTRY
   BY CAR
PRINT MODEL
   BY COUNTRY
   BY CAR
WHERE TOTAL COUNTER GT 1
END

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
December 01, 2010, 01:40 PM
Donald
Worked perfectly, thank you.


Prod: WebFocus 7.7.3 Win 2003
Dev: WebFocus 7.7.3 Win 2003
December 01, 2010, 01:44 PM
Donald
quote:
CLOSED



Prod: WebFocus 7.7.3 Win 2003
Dev: WebFocus 7.7.3 Win 2003
December 01, 2010, 04:01 PM
Waz
To add CLOSED to your title, you can edit your original post in the thread.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!