How do I create a manual counter on a access form?

K

Kuya D

Hi,

I am looking to put a manual counter on a form that a user can click an up
button to add one to the number or click a down button to subtract one form
the current number. Can anyone help me with this?

Thanks!
 
R

Rick B

just add "on click" code to the buttons.

In the up button...

Me.SomeFieldName = SomeFieldName +1


Rick B
 
P

Paul Overway

Place a text box on the form.

In the Click event for the Up button

Me.txtYourControlNameHere = Me.txtYourControlNameHere + 1

In the Click event for the Down button

Me.txtYourControlNameHere = Me.txtYourControlNameHere - 1
 
Top