Key Pad on Form

JaredNJames

Registered User.
Local time
Today, 13:07
Joined
Jul 7, 2007
Messages
87
hi, im trying to make a simple till system with the standard key board layout of a till:

7 8 9
4 5 6
1 2 3
0 00

How do you get the numbers to display like they would on a till or calculator.

As in when i press each button, it is displayed in a row.
So if i pressed 10.00
it would display as 10.00

any ideas?

Jared James
 
I would create an invisible text box and concatenate each key press to the text box. On completion, I'd use CDbl() to convert the text value of this text box to a number.
 
Sorted it now, i got the code from some other forums. its really simple:

[Text Box Name].Value = [Text Box Name].Value & "The value you want"

For example:

[Amount Paid].Value = [Amount Paid].Value & "1"

Jared James
 
That's what I meant. But remember this value is text not numeric.
 

Users who are viewing this thread

Back
Top Bottom