Click to See Complete Forum and Search --> : comp is wierd


Schenn
October 9th, 2001, 09:21 PM
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.

Schenn
October 9th, 2001, 09:27 PM
Never mind, i had it call a function that added 1 to the box....woops.