G
Guest
I have a table which contains stock numbers and URLs to photos of those stock
numbers. I need to AutoNumber the records within each stock number group.
i have this:
STOCK|URL|NUMBER
1234|http://photo.store.com/12324234.jpg|
1234|http://photo.store.com/12324289.jpg|
1234|http://photo.store.com/dcm5.jpg|
1234|http://photo.store.com/1234578.jpg|
1235|http://photo.store.com/144234324.jpg|
1235|http://photo.store.com/12rtyru.jpg|
i need this:
STOCK|URL|NUMBER
1234|http://photo.store.com/12324234.jpg|1
1234|http://photo.store.com/12324289.jpg|2
1234|http://photo.store.com/dcm5.jpg|3
1234|http://photo.store.com/1234578.jpg|4
1235|http://photo.store.com/144234324.jpg|1
1235|http://photo.store.com/12rtyru.jpg|2
It seems that if I could do some type of count on the grouped STOCK and
apply the count to the NUMBER field as it counted each grouping (1,2,3,...)
and the count would restart on the next STOCK group that I could achieve my
goal.
Does anybody know of a way to do this?
numbers. I need to AutoNumber the records within each stock number group.
i have this:
STOCK|URL|NUMBER
1234|http://photo.store.com/12324234.jpg|
1234|http://photo.store.com/12324289.jpg|
1234|http://photo.store.com/dcm5.jpg|
1234|http://photo.store.com/1234578.jpg|
1235|http://photo.store.com/144234324.jpg|
1235|http://photo.store.com/12rtyru.jpg|
i need this:
STOCK|URL|NUMBER
1234|http://photo.store.com/12324234.jpg|1
1234|http://photo.store.com/12324289.jpg|2
1234|http://photo.store.com/dcm5.jpg|3
1234|http://photo.store.com/1234578.jpg|4
1235|http://photo.store.com/144234324.jpg|1
1235|http://photo.store.com/12rtyru.jpg|2
It seems that if I could do some type of count on the grouped STOCK and
apply the count to the NUMBER field as it counted each grouping (1,2,3,...)
and the count would restart on the next STOCK group that I could achieve my
goal.
Does anybody know of a way to do this?