M
matt
I have a table that looks like this (presorted in
ascending order by Name and descending order by Sales)
with the Rank field empty:
Name Company Sales Rank
a a1 $3
a a2 $2
a a3 $1
b b1 $3
b b2 $2
b b3 $1
c c1 $3
c c2 $2
c c3 $1
I want to run an update query in VBA so that the Rank
field is updated so the table ends up looking like:
Name Company Sales Rank
a a1 $3 1
a a2 $2 2
a a3 $1 3
b b1 $3 1
b b2 $2 2
b b3 $1 3
c c1 $3 1
c c2 $2 2
c c3 $1 3
Thanks for any help!
ascending order by Name and descending order by Sales)
with the Rank field empty:
Name Company Sales Rank
a a1 $3
a a2 $2
a a3 $1
b b1 $3
b b2 $2
b b3 $1
c c1 $3
c c2 $2
c c3 $1
I want to run an update query in VBA so that the Rank
field is updated so the table ends up looking like:
Name Company Sales Rank
a a1 $3 1
a a2 $2 2
a a3 $1 3
b b1 $3 1
b b2 $2 2
b b3 $1 3
c c1 $3 1
c c2 $2 2
c c3 $1 3
Thanks for any help!