Hi,
I have Access 2010.
I am looking for a function for a query that will have a group number and then the next group number is a sequence group number as
follows:
Table1
Function:
Col1 Col2 GrpSeqNo
3100-E-001 a 1
3100-E-001 b 1
3100-E-001 C 1
4200-v-001 a 2
4200-v-001 b 2
4467-V-002 a 3
4567-V-001 a 4
5100-E-001 a 5
3100-E-001 b 5
And so on.......
Any help with this greatly appreciated.
I was tring this and it is not quite right-
GrpSeqNo: DCount("*", "[Table1]", "[Col1] <= " & [Col1] & " AND [Col2] <= " & [Col2] & "'")+1
Any help with this greatly appreciated.
BBryan
I have Access 2010.
I am looking for a function for a query that will have a group number and then the next group number is a sequence group number as
follows:
Table1
Function:
Col1 Col2 GrpSeqNo
3100-E-001 a 1
3100-E-001 b 1
3100-E-001 C 1
4200-v-001 a 2
4200-v-001 b 2
4467-V-002 a 3
4567-V-001 a 4
5100-E-001 a 5
3100-E-001 b 5
And so on.......
Any help with this greatly appreciated.
I was tring this and it is not quite right-
GrpSeqNo: DCount("*", "[Table1]", "[Col1] <= " & [Col1] & " AND [Col2] <= " & [Col2] & "'")+1
Any help with this greatly appreciated.
BBryan