I know this is a simple thing to do but I am having a complete brain freeze.
I have a text box named txtTNo on my form. I also have a table named TrackIt that contains one field named TrackNumber. There is only one value in table TrackIt.
When the user creates a new record, I want to get this value from TrackIt.TrackNumber and add 1 to it. Then I want this "new" value to be displayed in txtTNo. After txtTNo has this "new" value, I want to save it to TrackIt.TrackNumber and have the old value overwritten.
Can anyone help me?
Thanks!
I have a text box named txtTNo on my form. I also have a table named TrackIt that contains one field named TrackNumber. There is only one value in table TrackIt.
When the user creates a new record, I want to get this value from TrackIt.TrackNumber and add 1 to it. Then I want this "new" value to be displayed in txtTNo. After txtTNo has this "new" value, I want to save it to TrackIt.TrackNumber and have the old value overwritten.
Can anyone help me?
Thanks!