Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 89
  1. #46
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43

    OK what about Modifier + LeftClick?
    MouseUp?

  2. #47
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    If it's not listed on the Event tab of the Property Sheet, then it's not available.

    MouseUp would execute even when the image is clicked.

    KeyUp, KeyDown, KeyPress are possibilities. The procedure would test for a specific keycode and act accordingly.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #48
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43
    What would KeyPress look like?

  4. #49
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    You could build a macro that would then fire some code.
    Here is an example for A2003. It is similar in 2010. I would probably intercept something other than the function keys. Also, I have not tried to get a macro to fire code so there might be some special magic you would have to do...

  5. #50
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Macros can call VBA custom functions, not subs.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #51
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I started to imagine a UDF... It would be dificult to determin which product to subtract from. Would need an event handler for the control regardless.

  7. #52
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Right, a different key for each cookie. Not intuitive. Better off with buttons.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #53
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43
    So right now every time a cookie is clicked (just normanly I haven't done the -1 yet) the entire form is refreshed so that the inventory is updated right away. This cause then entire screen to flash, though not a huge problem it does become slightly annoying, so is there a way to only refresh the inventory values or to refresh without the flicker?

  9. #54
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    None that I know of.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  10. #55
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43
    alright I got the -1 set up, I also have a log in screen set up (have the table and qry set up too) but I can't Seem to get a new users form to work right. insite?

  11. #56
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    A log in form may be worthy of a new thread since it is a different topic. There are quite a few threads out there on the subject. Have you tried a search?

  12. #57
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43
    I have not searched yet, I will do so. I was just thinking since it wasn't the whole set up of login I may get something here. None the less I shall search on.

  13. #58
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43

    POS form set up

    I must be using the wrong search terms because I am not finding anything relevant to any sort of account/user set up. Mind pointing me in the right direction or anything?

  14. #59
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Not a problem

    Here is a sample DB. I have not looked at it, may be too complex
    https://www.accessforums.net/forms/c...els-40346.html

    The topic here is about hiding Nav Pane and various properties but has info on login forms
    https://www.accessforums.net/access/...ing-40614.html

    Here is another sample
    https://www.accessforums.net/sample-...ent-20745.html

    My preference is to have a table that stores User ID's and passwords. A splash form (unbound) opens at startup and the user selects their name from a combo and types thjeir password. They hit a submit button and the table is queried, maybe something like Dlookup.

    The problem is there is a lot more to it than just having a form open. You need to lock down the program so users do not have access to the tables, among other things.

  15. #60
    tristandoo is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    43
    I already have the db locked up until the correct info is entered (well almost left a loop hole for me in case something happened but once distributed it wouldn't be possible) and everything, tbls, qry, form i got it all.

Page 4 of 6 FirstFirst 123456 LastLast
Please reply to this thread with any new information or opinions.

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