tnx pradeep,
ok so we allready remove the 0's
here's the existing database in sql2000
( Im working on acctng system which has exsiting dtabase and i need to create a new one coded in
vb.net, they dont have the source code for the vb6.) i dont need to redesign the databse, heres the design
trno seq bref doc docno
2 1 SGJ GJ SGJ0000001
3 2 SGJ GJ SGJ0000002
4 3 SGJ GJ SGJ0000003
5 4 SGJ GJ SGJ0000004
6 5 SGJ GJ SGJ0000005
7 6 SGJ GJ SGJ0000006
trno is the pri key
notice the field (seq) itâs the same with the numeric format in docno
the existing software CAN search SGJ1 and it will FIND SGJ00000001,
using ur code wer able to remove the zeroes , but I donât know how to continue it,
tnx very much