Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    ramirezx@ddmfg.com is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    40

    Create a Keypad in an Access form and Subform

    Is it possible to have an add in or create a 10 keypad where I can enter number and have it stored to specific fields.



    Or an option in Access like the calendar when we click on an icon which opens a calendar. Is there an option like that, but for a ten keypad?

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Your post isn't quite clear. Are you dealing with a touch screen? If not, then I don't get the question. If a form field has the focus, you can enter any digits simply by using the pc keyboard.
    Or are you saying you want a keypad type of form that looks like the calendar control, in which case, I can only imagine that you are using a touch screen.

    EDIT: I just had to try interacting with an Access command button with my laptop touch screen. I never knew, but WOW it works. So I guess you'd build a form for this. Opening it would have to be via first touching the control where you want the data to go. I suppose the Got Focus event would be the one to open the form, and you'd pass the control name to the keypad form Open Args so it would know where to place the number(s). If you opened that form in form view via the nav pane, you'd need to trap for that. I also guess that you could either assemble the entire entry then transpose it to the form, or do it one digit at a time. With one at a time, you'd have to provide back spacing. Either way, a test for existing data would need to highlight that entry so it could be replaced with the first press of your keypad form buttons. Seems quite intriguing.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    ramirezx@ddmfg.com is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    40
    My apologies,

    Yes, I have a touch screen that I want to use, I have a form and a sub form where I want users to be able to enter #'s both with regular text boxes and combo boxes.

    What I was hoping that if the user touches a field they can go to a keypad, enter #'s, and then tab out to the next field. They will not have a keyboard or touch screen. The On Screen keyboard takes too much space and they only need to enter #'s and tab to the next field.

    Thanks,
    Xavier

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    I know of no such thing - not to say someone hasn't already done it. Up to today, I didn't even realize Access would accept my screen touch. I find the concept VERY intriguing. Maybe I will play with it, but not sure when I will get around to it if I have to start from scratch. If you want to mock up a db with whatever tables/data/queries/forms you think are required to start with, I'd see what I could do about a numeric touch pad for input. I'd have more incentive to jump on it sooner. It also helps that we are using the same windows/Access version.

    However, I think it would be wise to see what further comments or links are posted here by others. This wheel might have already been created by someone else.

  5. #5
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    I use Access with a Windows tablet and have released several apps designed to work on a tablet with either the OSK or touchpad.
    For example a signature capture app which works very well.

    Having said that not all Access apps are easy to use on a tablet.
    In terms of usability, you have to consider the small screen and overall layout

    However I'm unclear what it is you want as it sounds like you are already aware of using the OSK and don't want that

    There is a VBA reference called Microsoft Tablet PC Type Library you can enable which provides some useful functionality

    Also, are you aware that there are several versions of the OSK from which you can select - with more or fewer keys and taking up more or less screen space
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  6. #6
    Gicu's Avatar
    Gicu is offline VIP
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Hi Xavier,

    Why don't you build your own pop-up form? I am attaching a sample where I have a pop-up editor (double-click the two fields to invoke the pop-up), you can look at how it works and adapted for your keypad.

    Cheers,
    Vlad
    Attached Files Attached Files

  7. #7
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    I couldn't resist an initial play time. Doesn't do much at the moment.
    Click image for larger version. 

Name:	KeyPad.jpg 
Views:	48 
Size:	15.4 KB 
ID:	33968

    Will take a look at the post 5 attachment too.

  8. #8
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Before anyone gets too carried away reinventing the wheel, do check out the various different on screen keyboard options including

    Click image for larger version. 

Name:	Capture2.PNG 
Views:	46 
Size:	68.3 KB 
ID:	33973

    Click image for larger version. 

Name:	Capture.PNG 
Views:	46 
Size:	124.9 KB 
ID:	33971

    This one is for handwritten input using mouse or finger which is then converted to standard text. it works very well
    Click image for larger version. 

Name:	Capture1.PNG 
Views:	46 
Size:	130.9 KB 
ID:	33972

    The small icon on the top left is used to toggle the various options
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  9. #9
    ramirezx@ddmfg.com is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    40
    I have Windows 10, when i open the on screen keyboard it takes too much screen. the three print screens of the keyboard how do you go from one to the other.

    If I can set it to the 1st or 2nd print screen that might work for me?

    Thanks!

  10. #10
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Can you see the keyboard icon in the top left? If not you are using the old on screen keyboard osk.exe
    You want the tablet keyboard tabtips.exe
    Change to tablet mode and click the taskbar icon in the notifications area
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  11. #11
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    I played with the OSK for W10. Have to say that based on my interpretation of the OP's need, it would be a bit clunky. You have to click on every field then click back to the keyboard and input, then back to the form and select, back to the keyboard, and so on. Besides, I gather that only numbers are needed (so way too much space taken up by the osk for the need) and a touch screen will be used.

    Have given much thought as to how an Access keypad form could interact with form fields. Once you touch the screen view of the form field, things can happen, but it's surprising how much is really involved in order to make it function well and I've only just started thinking about it.

  12. #12
    Gicu's Avatar
    Gicu is offline VIP
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Micron,
    Have a look at my popEditor to see how I do it, on doubleclick event of the calling form (in OP's case could be OnEnter of each of the fields) I open the popup form and on close of that I update back the calling field.

    Cheers,
    Vlad

  13. #13
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    I'm typing this on a windows tablet now using handwriting recognition and this was done with no errors. it also copes with numbers just as well.
    It's definitely harder work using the tablet keyboard but it's certainly possible
    As I said originally, it's important to consider form design if you intend an app to be used on a tablet.

    EDIT
    Just corrected an typo error which occurred after I reverted to the touch keyboard!
    Typical
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  14. #14
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Quote Originally Posted by Gicu View Post
    Micron,
    Have a look at my popEditor to see how I do it
    I did, and I don't think that's what's being asked for. I have seen this sort of thing from long, long ago, where a popup form is presented as a way of adding/editing values in a locked field if you have the admin type rights. While yours isn't locked, the principle is the same. Unless I'm mistaken, the OP has a touch screen and no keyboard, and simply wants to edit a field with a numeric keypad. Unless I'm misunderstanding the original post (or yours for that matter) then I don't see how your db does that. I've gone as far as building a keypad that interacts with a touch screen and will place a value in a form field, but that's all I've done to this point.

    I don't know for sure, but I'd say that regardless if the input tool is a pc or tablet, if the OP wants a numerical only keypad to be an integral part of a db, then I'm not sure the osk is the way to go. I do think that it's time for some clarification, though. Regardless, I will probably play with it because I like a new challenge, but it would be better to create something closer to the desired form rather than me creating whatever I can envision. That would take some feedback, which hasn't happened since post 9.

  15. #15
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Hi Micron
    The OP added an RP comment on my post 10 - he's happy with what I described and 'says it works for him & he's good to go'

    Personally I like the handwriting window input on a tablet - in tests, its worked every time without error for populating controls on a form.
    Ironically when I used the TabTips OSK afterwards, I kept making typos

    For info, this is my signature capture form designed specifically for tablet use
    For this screenshot, I used a mouse on a desktop to 'sign' - much harder than using a fingertip on a touch screen

    Click image for larger version. 

Name:	Capture.PNG 
Views:	40 
Size:	27.9 KB 
ID:	33975
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 07-02-2015, 12:49 PM
  2. Replies: 2
    Last Post: 10-22-2014, 11:39 AM
  3. Replies: 3
    Last Post: 10-28-2013, 04:39 PM
  4. Replies: 3
    Last Post: 08-04-2012, 10:06 PM
  5. Create combo search form in subform
    By grant.smalley in forum Forms
    Replies: 6
    Last Post: 02-19-2010, 04:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums