Hello
I have a table in MS Access with 2 Columns
Column 1: Name
Column 2: Count
i.e.
Name Count
Tim 0
Tim 0
Tim 0
Bob 0
Tim 0
Bob 0
I want VB to run through the Name column and work out how many times each repeated value i.e. Bob or Tim occurs.
Then input that frequeny number in the Count column for each given value.
i.e.
Name Count
Tim 4
Tim 4
Tim 4
Bob 2
Tim 4
Bob 2
I think I will need to use an array to hold and calculate the data, then put the data back into the table from the array, but my knowledge is limited.
Does anyone know how to do this?
I have a table in MS Access with 2 Columns
Column 1: Name
Column 2: Count
i.e.
Name Count
Tim 0
Tim 0
Tim 0
Bob 0
Tim 0
Bob 0
I want VB to run through the Name column and work out how many times each repeated value i.e. Bob or Tim occurs.
Then input that frequeny number in the Count column for each given value.
i.e.
Name Count
Tim 4
Tim 4
Tim 4
Bob 2
Tim 4
Bob 2
I think I will need to use an array to hold and calculate the data, then put the data back into the table from the array, but my knowledge is limited.
Does anyone know how to do this?