Data Category Counter

dim1962

Registered User.
Local time
Today, 14:46
Joined
Mar 24, 2009
Messages
15
Hi All,

I have a table with 2 fields ID and Data (please see attachment T1)

In a form based on this table I like to add a new field named counter.
I need a code to build this counter which practically will count how many data I have with the same value starting all the time from 1
In this example I have 2 x A, 3 x B 1 x C, so the form I like to show (please see T2)

So if we’ll order (A-Z} by Data will have like in T3

So again, each time when data change the counter will restart from 1 depending ID order.
Please, can somebody help me?

Thanks
 

Attachments

  • Counter.jpg
    Counter.jpg
    20.5 KB · Views: 135

Users who are viewing this thread

Back
Top Bottom