P
PK.10987
Programme > Subject > Project
This is the way we classify our projects.
There are different programme categories marked by a programme code.
Each programme has different subjects marked by a subject code.
Each subject has different projects with a project number.
The programme and subject codes and selected by the user via combobox. There
is no issues for that.
What we need is that when move into a new subject area the project numbering
should start from 01 and be incremented by 01 consecutively for projects
under the same subject.
For example look at this code.
D1.10.01 (D1 is the prog, 10 is the subj and 01 is proj number)
D1.20.01 (it's still prog D1, sub is different here; now its' 20 and the
proj number01)
I have a field with coding D1.10, D2.10, D3.10 in my tables
How can i create a project numbering system using the above values? I also
have the programme code and subject code in seperate fields.
One of my friends told me to use a combination of NZ and DMAX function for
the case when you treat prog code and subj code seperately. But I didn't
quite understand that.
Please give me suggestions on that and if there are any other way of solving
this issue.
Thanks,
PK
This is the way we classify our projects.
There are different programme categories marked by a programme code.
Each programme has different subjects marked by a subject code.
Each subject has different projects with a project number.
The programme and subject codes and selected by the user via combobox. There
is no issues for that.
What we need is that when move into a new subject area the project numbering
should start from 01 and be incremented by 01 consecutively for projects
under the same subject.
For example look at this code.
D1.10.01 (D1 is the prog, 10 is the subj and 01 is proj number)
D1.20.01 (it's still prog D1, sub is different here; now its' 20 and the
proj number01)
I have a field with coding D1.10, D2.10, D3.10 in my tables
How can i create a project numbering system using the above values? I also
have the programme code and subject code in seperate fields.
One of my friends told me to use a combination of NZ and DMAX function for
the case when you treat prog code and subj code seperately. But I didn't
quite understand that.
Please give me suggestions on that and if there are any other way of solving
this issue.
Thanks,
PK