Leo_Polla_Psemata
Registered User.
- Local time
- Yesterday, 19:56
- Joined
- Mar 24, 2014
- Messages
- 364
I don't understand, why in a simple query, the row number, in access,
looks like rocket science. Too difficult.
Well
I have a query, one field, say [Bol_reference], may return the below
ABC123
ABC234
ABC345
ABC345
BCD123
BCD123
I would like to have a row number so that query will look like this
1 ABC123
2 ABC234
3 ABC345
4 ABC345
5 BCD123
6 BCD123
And then, a row number for each record, the query would look like this
1 ABC123 1
2 ABC234 1
3 ABC345 1
4 ABC345 2
5 BCD123 1
6 BCD123 2
7 BCD123 3
The record 1,2, are unique
The records 3, and 4 are duple so, a row number for ABC345
The records 5,6,7 are listed three times, so, a new row number for BCD123
This query could return up to 600 records, average 40% may appear more than one time.
Could someone help me in this by using simple functions?
looks like rocket science. Too difficult.
Well
I have a query, one field, say [Bol_reference], may return the below
ABC123
ABC234
ABC345
ABC345
BCD123
BCD123
I would like to have a row number so that query will look like this
1 ABC123
2 ABC234
3 ABC345
4 ABC345
5 BCD123
6 BCD123
And then, a row number for each record, the query would look like this
1 ABC123 1
2 ABC234 1
3 ABC345 1
4 ABC345 2
5 BCD123 1
6 BCD123 2
7 BCD123 3
The record 1,2, are unique
The records 3, and 4 are duple so, a row number for ABC345
The records 5,6,7 are listed three times, so, a new row number for BCD123
This query could return up to 600 records, average 40% may appear more than one time.
Could someone help me in this by using simple functions?