473,394 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Combo list expand on enter.

72
Hello again,

In Access 2k3, I need for the combo list to auto expand when the user tabs into the field, or click on the field. I saw that there is a DropDown command, is that correct? Just typed that in the field properties event onenter or onclick?

Thanks you.
Mar 20 '07 #1
6 2694
Rotor
72
Welp, that did not work. Still looking.
Mar 20 '07 #2
Rotor
72
Welp, so far I havent found anything, or maybe I am searching for the wrong thing.
Mar 20 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Welp, so far I havent found anything, or maybe I am searching for the wrong thing.
You need an event procedure on the On Enter event as follows:
Expand|Select|Wrap|Line Numbers
  1. Private Sub ComboName_Enter()
  2.     Me!ComboName.Dropdown
  3. End Sub
  4.  
Mary
Mar 22 '07 #4
ADezii
8,834 Expert 8TB
Hello again,

In Access 2k3, I need for the combo list to auto expand when the user tabs into the field, or click on the field. I saw that there is a DropDown command, is that correct? Just typed that in the field properties event onenter or onclick?

Thanks you.
You can also place this code in the GotFocus() Event of the Combo Box:
Expand|Select|Wrap|Line Numbers
  1. SendKeys "{F4}"
Mar 22 '07 #5
Rotor
72
You need an event procedure on the On Enter event as follows:
Expand|Select|Wrap|Line Numbers
  1. Private Sub ComboName_Enter()
  2.     Me!ComboName.Dropdown
  3. End Sub
  4.  
Mary

Thank you Mary and Dezii

Quick questions, these event codes they cannot be done thru the UI, but have to done in the VBA editor, right? I tried the dropdown event, but I may have tried it in the wrong field. Will ck.
Mar 27 '07 #6
MMcCarthy
14,534 Expert Mod 8TB
Thank you Mary and Dezii

Quick questions, these event codes they cannot be done thru the UI, but have to done in the VBA editor, right? I tried the dropdown event, but I may have tried it in the wrong field. Will ck.
Yes these are both event driven codes.
Mar 27 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Bob Alston | last post by:
In 2002, "GrayJay" posted the following code: I did this in a jazz record catalogue to find composers - On a form "frmComposers" Create a text box - txtFindComposer, and add the following sub...
2
by: Jim Devenish | last post by:
I have a combo box with Auto Expand and Limit to List both set to 'yes'. When I type 'C' I correctly get: C J Valeting When I type 'CO' I get: Cogent Seating Ltd again correct BUT when I go...
3
by: Stewart | last post by:
Hi all! My (relatively small) database holds data on staff members and the projects (services) that they are assigned to. In my form frmStaff, I have a list of staff members - it is a...
0
by: Gautam Dasaka | last post by:
Hi, I am creating an Access database form to store invoice information in the same file. This is a single user file, but tested on a few workstations.. I am using a combo box (CboSupplier_List)...
0
by: Tom | last post by:
I have some very strange issues with combo boxes on a tab control. Here's the scenario: I have a Windows Forms form that has a tab control on it, with two (2) tabs. Tab 2 happens to have a number...
1
by: pemigh | last post by:
In a prior posting (too old to reply directly), Jim Devenish described exactly what my client has seen, both in terms of AutoExpand behaving oddly and the way that caps lock relates to the...
7
by: Rotsey | last post by:
Hi, I am having a problem trying to select an item with the enter key. I want to work the combo with the keyboard. So when I use the down arrow to browse the list I want to then hit the...
3
rhitam30111985
by: rhitam30111985 | last post by:
Hi all.. i am trying to create a combo with the pop down list being modfied in real time as i type each character : import gtk window=gtk.Window(gtk.WINDOW_TOPLEVEL)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.