R
Robert
I'm want to automatically increment the number portion of
a text field depending on the first two and possibly 3
characters of the field. The field name is
NALC_Grievance_Number. The first text entry will be for
the area, for example, DC, HY, BCC. The next entry will
be the numeric portion that I want to automatically
increment depending on the highest numeric value entered
for that area. For example, when I enter the first record
for DC, the numeric portion should automatically
display "001". The next portion of the field is the year,
in YYYY format. Each portion is separated by "-".
So, for BCC, if the highest numeric value already entered
is 100, when I enter a new record, the next record should
automatically be 101. For HY, if the highest numeric
value already entered is 70, when I enter a new record,
the next record should automatically be 71.
I want to have each area records to be numbered
consecutively with no missing numbers. That means there
can be a record numbered DC-100-2004, BCC-100-2004, and
HY-100-2004.
I believe MS Knowledge Base Article 209830 answers part
of my question, the numeric portion, not the different
beginning text portion.
Thanks,
Robert
a text field depending on the first two and possibly 3
characters of the field. The field name is
NALC_Grievance_Number. The first text entry will be for
the area, for example, DC, HY, BCC. The next entry will
be the numeric portion that I want to automatically
increment depending on the highest numeric value entered
for that area. For example, when I enter the first record
for DC, the numeric portion should automatically
display "001". The next portion of the field is the year,
in YYYY format. Each portion is separated by "-".
So, for BCC, if the highest numeric value already entered
is 100, when I enter a new record, the next record should
automatically be 101. For HY, if the highest numeric
value already entered is 70, when I enter a new record,
the next record should automatically be 71.
I want to have each area records to be numbered
consecutively with no missing numbers. That means there
can be a record numbered DC-100-2004, BCC-100-2004, and
HY-100-2004.
I believe MS Knowledge Base Article 209830 answers part
of my question, the numeric portion, not the different
beginning text portion.
Thanks,
Robert