Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable in an Access Form?

Status
Not open for further replies.

conneticat

Programmer
Jul 16, 2004
47
US
How can I type a number in a field on a form, then click a button (or set an afterupdate event procedure) to multiply that number by whatever temporary variable number I type into a message box? Ya know what I mean?

cat.gif
 
Use the click event of the button, and change the text box values to numbers, like:
CInt(txtBox1) * CInt(txtBox2)

"Don't be irreplaceable. If you can't be replaced, you can't be promoted."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top