I got 2 different table:
Table1
ID
AK001
AK001
AK001
(above should be AK001, AK002, AK003 and so on....)
Table2
LastNum
1
Table 1: update table1 set ID = xx + RIGHT('....'+()) and so on
Table 2: UPDATE table2 SET LastNum = LastNum + 1 (this works, but when I enter wrong detail when at create new form ,not yet save, its also give me +1)
my question is how to auto increment and update in Table 1 after Table 2 have been updated? Because what im facing is the table1 keep give me the same number when table2 is updated. Please help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…