Hello. I have a field in my database that I would want to change the value
of simply by pressing a button (three buttons - click on any one to insert
the value attributed to that button). How do I tell access to insert a given
value into the field upon a button press, and does that code go behind the
button object itself?
(Rationale is that this db will be used via touch screen).
Thank you Tim.
Timboo
Code-behind-button:
Me!txtYourField = "Value-of-your-button"
This assumes your form has a text control bound to the underlying field for
which you want to change the value.
Terminology note: Access stores values in fields, in tables. A "database"
in Access is ALL of the objects.

Signature
Good luck
Jeff Boyce
<Access MVP>
> Hello. I have a field in my database that I would want to change the value
> of simply by pressing a button (three buttons - click on any one to insert
[quoted text clipped - 4 lines]
>
> Thank you Tim.
Timboo - 17 Jan 2005 13:43 GMT
Jeff, simple when you know how, thank you worked a treat.
> Timboo
>
[quoted text clipped - 18 lines]
> >
> > Thank you Tim.