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

How can I control what is displayed by a combo box selection?

I have a combo box in Access 2003 that contains three columns from a table. The combo box correctly lists the contents of those three columns. I have one column specified as the bound column, so when I select a row in the combo box’s list, the combo box displays just that the information in the one bound column. Instead, I would like the combo box to display the concatenated values of the three columns. Is there a way to do that?

Thanks for any suggestions.

Gordon Padwick
Oct 29 '10 #1
1 1391
gnawoncents
214 100+
Are you running any code based on the combo box's value? If not, why not base the combo box recordsource on the concatenated values from the start?

If, for whatever reason, that won't work for you, you can set up the concatenated value as the first column in your record source and set the combo box properties like this:

Column Count: 4
Column Widths: 0.0007";1";1";1"

Set the last three column widths to whatever length you need, but keep the first so small it can't be seen (don't use zero (0) or it won't work).

This will show the last three columns when you are selecting, but only show the first column after selection.
Oct 29 '10 #2

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

Similar topics

2
by: D | last post by:
Book inventory. Access 2K. I'm trying to let a user choose a book title from one combo box, then a book number for that book title from another combo box. I can filter the book number combo with...
1
by: Alex | last post by:
Acc97.. I have a database which records down-time on 8 machines, the selection of reasons comes from a combo box. I have tried to be clever! and limit the options relative to each machine within...
5
by: Cillies | last post by:
Hi all, I have three combo boxes on a form! what I want to be able to do is manipulate access to the last two combos, depending on the selection of the options in the first combo. I have...
1
by: serge calderara | last post by:
Dear all I have an ASP 1.1 application on which my user can filled some selection querry field like : ProductCatergorys (DropDownlist box) Product names (DropDownList) product number (text...
1
by: MattsWorldTour | last post by:
Hi, I was just wondering if any one could help me out with a question I have. The controls im using, grids and treeviews, allow the child nodes and rows to be selected by left clicking over...
1
by: MLH | last post by:
I have a form with a subform control on it listing records returned by a saved query named UnbilledVehicles. I would like to put command buttons on the main form to apply dynamic filters to the...
1
by: rajarameshvarma | last post by:
Hi, I have two user controls in an asp.net webpage each contains a DropDownList. Depending on the selection of the drop down in one user control i need to populate data in the other drop down...
2
by: computerider | last post by:
I have a standard two-table structure, Orders which has a lookup field to the Salesperson table. However when you build a form the salesperson field has the combo box feature - which I WANT when...
0
by: desigeek | last post by:
I have an issue regarding wanting to put a Browse button on web page that will allow a user to select a directory path....not a file.....on their local machine. That selected directory path then...
2
repath
by: repath | last post by:
Dear All: Issue: I used a tab control with 3 tabs, named personal details, academic record, Extra curricular activities (ECA): Each tab has respective controls like option buttons with in a...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.