txtid.text=1
lngpersonid = val(txtid.Text)
txtid.Text = lngpersonid + 1

Can anyone tell me why this comes up as 3. Its not in a loop, I have not changed the code in weeks and it now started doing this.