S
Samantha
I'm building a MsAccess "annex" interface to our existing MRP system which is
a SQL database , to automatically add another Item Number given certain
conditions. My problem is how I can set the next sequential number of the
Item Number.
The starting Item Number format is 01-00800, where the last 3 digits (800)
is sequential. The highest sequential can only go up to 999 (i.e 01-00999),
at which point the script stops and someone will have to decide what the new
sequence should be and reset.
The list of Item Numbers created are stored in table PartMaster, field
ItemNum. I'm thinking of storing the prefix "01-00" and the sequential
number "800" in a table "Settings". The biggest challenge for me is that a
new Item Number can be created via the MRP interface also. So, storing the
the next sequenctial number is not sufficient. But I'm not sure what else is
need.
Any help is very much appreciated.
a SQL database , to automatically add another Item Number given certain
conditions. My problem is how I can set the next sequential number of the
Item Number.
The starting Item Number format is 01-00800, where the last 3 digits (800)
is sequential. The highest sequential can only go up to 999 (i.e 01-00999),
at which point the script stops and someone will have to decide what the new
sequence should be and reset.
The list of Item Numbers created are stored in table PartMaster, field
ItemNum. I'm thinking of storing the prefix "01-00" and the sequential
number "800" in a table "Settings". The biggest challenge for me is that a
new Item Number can be created via the MRP interface also. So, storing the
the next sequenctial number is not sufficient. But I'm not sure what else is
need.
Any help is very much appreciated.