formadmirer
asked on
VFP 9 Select Top 10
Hi all.
It's been quite a while since I did any work in FP.
I have a table with "productid" and "prodcount". They are both numeric. Prodcount contains inventory counts.
What I need is to select the ten product ids with the largest counts.
The table is not indexed on the prodcount field and I cannot change that.
Thanks!
It's been quite a while since I did any work in FP.
I have a table with "productid" and "prodcount". They are both numeric. Prodcount contains inventory counts.
What I need is to select the ten product ids with the largest counts.
The table is not indexed on the prodcount field and I cannot change that.
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. Simple, direct and it worked.
Bye, Olaf.