This is killing me I know there is an elegant solution but I can't
figure it out. I have a simple query which gives me the following
results...
File Cost Center
1 2x2
1 3ee
1 1xc
2 1qw
2 2x2
3 1a1
I am trying to add a thrid column that will give me a sequential count of the number of cost centers associated with each unique file number. For the above example the result would be...
File Cost Center Result
1 2x2 1
1 3ee 2
1 1xc 3
2 1qw 1
2 2x2 2
3 1a1 1
I can get a total count for each file using DCOUNT but I am finding it is impossible to get a sequential count. I have been through the newsgroups and can't find a simple solution. This can't be that hard can it??? Any help anyone could offer would be most appreciated.
Thanks in advance.
Scott
figure it out. I have a simple query which gives me the following
results...
File Cost Center
1 2x2
1 3ee
1 1xc
2 1qw
2 2x2
3 1a1
I am trying to add a thrid column that will give me a sequential count of the number of cost centers associated with each unique file number. For the above example the result would be...
File Cost Center Result
1 2x2 1
1 3ee 2
1 1xc 3
2 1qw 1
2 2x2 2
3 1a1 1
I can get a total count for each file using DCOUNT but I am finding it is impossible to get a sequential count. I have been through the newsgroups and can't find a simple solution. This can't be that hard can it??? Any help anyone could offer would be most appreciated.
Thanks in advance.
Scott