N
Nick T
Hi,
I have a database which uses command buttons to input numbers into a text
box all on one form.
I can currently use command buttons to do this, however for obvious reasons
as you will see by the code, the command button will only put a number into
one text box.
Current code:
Me.order = Me.order & "1"
This code for my command button 1 will put a "1" into my text box called
"order"
However, i want the same command button to be able to put the same
information into other text boxes as well.
Eg. what ever text box my cursor is in, i want the command button to put the
number in when clicked.
Any suggestions on the code i should use??
Many thanks
Nick
I have a database which uses command buttons to input numbers into a text
box all on one form.
I can currently use command buttons to do this, however for obvious reasons
as you will see by the code, the command button will only put a number into
one text box.
Current code:
Me.order = Me.order & "1"
This code for my command button 1 will put a "1" into my text box called
"order"
However, i want the same command button to be able to put the same
information into other text boxes as well.
Eg. what ever text box my cursor is in, i want the command button to put the
number in when clicked.
Any suggestions on the code i should use??
Many thanks
Nick