Newbies TheGrinch Posted September 30, 2004 Newbies Posted September 30, 2004 Hello All, I have a DB of around 10k records. One of the fields, "company", has 10k entries, with say 5k unique entries. For each record there is a count field that gives the total no. companies for the particular company in that record. for example: record 1 has company "IBM", the count field gives 25 as there are a total of 25 IBMs in the DB. I want to create twenty new fields: Company#1, Company#2.....Company#10 CompanyCount#1, CompanyCount#2......CompanyCount#10 Is there anyway I can populate these fields with the top ten company names together with their counts. Any suggestions/comments appreciated. CHEERS
BrentHedden Posted September 30, 2004 Posted September 30, 2004 How about sorting (descending) the relationship according the the count?
Newbies TheGrinch Posted October 1, 2004 Author Newbies Posted October 1, 2004 That doesnt help me since i get a list where the top company appears 50 times with its count, then the second company is listed 20 times with its count...
CoZiMan Posted October 1, 2004 Posted October 1, 2004 Create a value list from the SORTED records and select the top ten results to copy into a new field that isn't the value list That should work.
Recommended Posts
This topic is 7427 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now