Numeric keypad for touch screen

anchamal

Registered User.
Local time
Today, 08:00
Joined
Mar 7, 2010
Messages
57
i have a form where i'm using a numeric keypad through touch screen.
when pressing the onscreen buttons the numbers and letters should appear on a combo box and when enter the combo goes to the specific record.

Now the preblem is that if i form the code "CH2525" the letters and numbers appear on the combo box ok, and by pressing enter button it gets me to the correct record.

but if i press any number first, the number does not appear in the combo box.

can somebode explain and give me a solution on how to make the numbers appear on my combo box

the code i'm using for the numeric part is
Me.Combo117 = Me.Combo117 & "1"

the code for the letters:
Me.Combo117 = Me.Combo117 & "ch"

even if try Me.Combo117 = "0" will not work

the code in the combobox to get me to the specific record is:
Dim rst As DAO.Recordset

Set rst = Me.RecordsetClone

'rst.FindFirst "[BDCODE]=" & Me.Text121
rst.FindFirst "[BDCODE] = '" & Me.Combo117 & "'"

can somebode explain and give me a solution on how to make the numbers appear on my combo box

thanks in advance
 
I would double check what type of field your combo is linked to, General or Text have different effects.

Does the combo list add entries to a table or to a control, I'd suggest linking it to a table to then control the entries better.

It may not be a solution, but I hope that helps.
 
Hi! How about the character period. How can I create a button for this.

Thanks
 

Users who are viewing this thread

Back
Top Bottom