Setting the value of a text box with buttons

  • Thread starter Thread starter Olden
  • Start date Start date
O

Olden

Hello everybody!

I need your help with the following:

In a form with unbound controls I have a text box called QUANTITY with the
default value set to 20, I would like to have command buttons that
increment my default value by 1 on each click.

Not knowing what I was doing I tried the follwing:

In the On Click section of a command button with caption set to "+":

=[QUANTITY]+1

In the On Click section of a command button with caption set to "-":

=[QUANTITY]-1

It didn't work.

How would I make these buttons work my way?


Thanks in advance for any pointers,

Olden
 
Back
Top