Rajeev Mohan
New member
- Local time
- Today, 11:37
- Joined
- May 28, 2014
- Messages
- 5
Hi gurus,
I have a query where I need to incrementally count the repetition of column values and add that value in a new column.
Example:
"Column One" and "RepeatCounter" are fields in a query.
Column One Repeat Counter
Value 1 1
Value 2 1
Value 3 1
Value 1 2
Value 1 3
Value 3 2
I want to create the outcome in the field "Counter" in an Access Query.
I am a novice in Access VBA. I found I can do it in Excel with the formula CountIF. I am unable to do it in Access.
Please help.
Rajeev
I have a query where I need to incrementally count the repetition of column values and add that value in a new column.
Example:
"Column One" and "RepeatCounter" are fields in a query.
Column One Repeat Counter
Value 1 1
Value 2 1
Value 3 1
Value 1 2
Value 1 3
Value 3 2
I want to create the outcome in the field "Counter" in an Access Query.
I am a novice in Access VBA. I found I can do it in Excel with the formula CountIF. I am unable to do it in Access.
Please help.
Rajeev