Hello,
in the table item_stan I have a field "isocode" where some kind of number is stored like:
document isocode
document 1 QW3A1M0001
document 2 QW3A1M0002
document 3 QD3A6T0001
Now I want to search the next number behind the code.
MakeCode = QW3A1M
Searchnumber = ... this code should result in 0003
Another example
makecode = QD3A6T0001
Searchcode = ... the result should be 0002
Who can help me with the code for searchnumber? I am working with access 2003 FE and MS SQL server 2005 BE (adp project)
Thanks in advance,
Sven.
in the table item_stan I have a field "isocode" where some kind of number is stored like:
document isocode
document 1 QW3A1M0001
document 2 QW3A1M0002
document 3 QD3A6T0001
Now I want to search the next number behind the code.
MakeCode = QW3A1M
Searchnumber = ... this code should result in 0003
Another example
makecode = QD3A6T0001
Searchcode = ... the result should be 0002
Who can help me with the code for searchnumber? I am working with access 2003 FE and MS SQL server 2005 BE (adp project)
Thanks in advance,
Sven.