A
Alylia
I am trying to design a table which should have a specific index format that
increases by 1 whenever a new record is added to the table.
The index should start from 05TYT-001 increasing by 1 a new record is being
added. It should be noted that the 05 in front of the TYT is dependent on the
last number of the current financial year (July04 to June05) which is denoted
by three characters followed by 05 (e.g ALV05).
Therefore waht I really need support on how to come with an index that would
be 05TYT-_ _ _ , and then be 06TYT- _ _ _ come the start of the next
financial year which should start in July 2005.
Thx
increases by 1 whenever a new record is added to the table.
The index should start from 05TYT-001 increasing by 1 a new record is being
added. It should be noted that the 05 in front of the TYT is dependent on the
last number of the current financial year (July04 to June05) which is denoted
by three characters followed by 05 (e.g ALV05).
Therefore waht I really need support on how to come with an index that would
be 05TYT-_ _ _ , and then be 06TYT- _ _ _ come the start of the next
financial year which should start in July 2005.
Thx