1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access 2007: Dropdown Help

Discussion in 'Business Applications' started by zr3cool, Jan 10, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. zr3cool

    zr3cool Thread Starter

    Joined:
    Jun 11, 2010
    Messages:
    73
    Hi
    I need some help on this one. I have a drop down box. As soon as I start typing in it, it drops down automatically using (ActiveControl.Dropdown) on key press event procedure. when i press enter to select the client the dropdown box stay open and does not close. What can I put into the "on enter" event to close the drop down box after I press enter.
    I have tried to set the focus to something else on enter but it does not work.
    Please let me know if you guys have any ideas.
    Thank you very much
     
  2. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    I think that the code that you have in the key press event is causing your problem, why do you need it?
     
  3. zr3cool

    zr3cool Thread Starter

    Joined:
    Jun 11, 2010
    Messages:
    73
    as soon as I start typing a name the drop down drops automatically i see which client im picking and I click enter the client is loaded but the dropdown stay open which is very annoying. :)
     
  4. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    Try deleting the VBA code in the key press event procedure.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/973808

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice