473,385 Members | 1,402 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,385 software developers and data experts.

Access List box DblClick should expand the item values

66 64KB
Hi

I have a listbox in my form which will show list of field names in a table. If the user double click on one of the field say for example Location, the list box should reload the data with Location field unique data. such as USA, UK, INDIA, etc...

This is similar to our explorer side bar view which expands the folder on selection.

Please confirm is this possible with MS Access.

Thanks
Feb 19 '15 #1

✓ answered by Stewart Ross

Not possible with list box control, but you could try using the treeview control instead. It is more complex to use (you need to load it via code - see for example http://bytes.com/topic/access/answer...eeview-control).

-Stewart

3 1441
Stewart Ross
2,545 Expert Mod 2GB
Not possible with list box control, but you could try using the treeview control instead. It is more complex to use (you need to load it via code - see for example http://bytes.com/topic/access/answer...eeview-control).

-Stewart
Feb 21 '15 #2
Rabbit
12,516 Expert Mod 8TB
It's possible with a listbox. In the double click event, you just build dynamic SQL to reload the listbox. But it probably looks nicer and takes less code with the treeview control.
Feb 21 '15 #3
johny6685
66 64KB
Thank you both, I already tried as Rabbit stated, I opened the sub selection in a new floatting pane which will pop-up on double click but I think Tree view suggestion is what I expected. Let me try and get back if I have some questions. Thanks.
Feb 23 '15 #4

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

Similar topics

5
by: Nick Calladine | last post by:
Learning : Loop to list all dropdown box values on a form Can some one point me in the right direction : I have a form which I want to loop through I basically want to get all the selected...
5
by: Kris Rockwell | last post by:
Hello (again), I have gotten the dropdown list functionality to work through a few tricks (probably not the most efficient, but it works) but I am not sure how to set the default selected value....
7
by: Brian Henry | last post by:
I have a list box bound to a data set, of course the datasource,datamember, and valuemember are set, i tell it selecteditem = -1 to make nothing selected, select mode is set to only one item at a...
6
by: doncee | last post by:
I have a list box that is generated on a form by way of a Parameter Query. Problem is whenever I try to refer to the list box, i.e., to update the underlying table, I am getting a "null" value...
4
by: Fendi Baba | last post by:
I am creating a simple project information database. In the project information form 1 have two subforms. one contains organization involved - many organzation can be involved - and another list of...
3
by: Brian Graham | last post by:
I have a combo box with a query for a list of names etc. The table has 250,000 rows. The query returns 250,000 rows. But the list returns only 97,000 rows and then shows blank columns after that, so...
2
by: Smokey Grindel | last post by:
I have a list of items that is in the list of <Tformat... and then in that are objects I created that implement the IComparable interface... now if I took this list and did a...
0
by: NothingMore | last post by:
I am using VB .NET and I am stumped as I draw blanks and cant find anything about adding multiple values to a combo box item. Without using external files. Example: (hope this helps a bit) ...
1
by: Mikki Richard | last post by:
My table has item code, item sequence, and then item minimum, base and rate. I want write a query to calc the item charge while the item code is the same. Each item code could have more than one...
1
by: harinisuresh | last post by:
Download source code of Program : http://www66.zippyshare.com/v/96114261/file.html I got Error 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' of using cross domain in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.