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

ComboBoxes and ListBoxes

dom
Hello All,

The combo/list boxes in MS Access has the ability to show
multiple fields in separate columns.

I have found that in VB/VB.NET that combo/list boxes can
only show one field in one column.

What do I need to do to achieve combo/list boxes similar
to MS Access in VB or VB.NET?

Or is this even possible?

Please advise.

Thanks in advance for anyone's response.
Nov 20 '05 #1
3 1317
ComboBoxes and ListBoxes in .NET Lists the result of the "ToString" Function
of the Item You add to the List.
Just overwrite that Function to display whatever You want (in a string
format, obviously)
"dom" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Hello All,

The combo/list boxes in MS Access has the ability to show
multiple fields in separate columns.

I have found that in VB/VB.NET that combo/list boxes can
only show one field in one column.

What do I need to do to achieve combo/list boxes similar
to MS Access in VB or VB.NET?

Or is this even possible?

Please advise.

Thanks in advance for anyone's response.

Nov 20 '05 #2
* "dom" <an*******@discussions.microsoft.com> scripsit:
The combo/list boxes in MS Access has the ability to show
multiple fields in separate columns.

I have found that in VB/VB.NET that combo/list boxes can
only show one field in one column.

What do I need to do to achieve combo/list boxes similar
to MS Access in VB or VB.NET?


<http://www.codeproject.com/vb/net/multicolumncombo.asp>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #3
dom
thanks for the input!

i will definitely look into what both of you advised and
post the outcome.

thanks again.
-----Original Message-----
Hello All,

The combo/list boxes in MS Access has the ability to show
multiple fields in separate columns.

I have found that in VB/VB.NET that combo/list boxes can
only show one field in one column.

What do I need to do to achieve combo/list boxes similar
to MS Access in VB or VB.NET?

Or is this even possible?

Please advise.

Thanks in advance for anyone's response.
.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kathy | last post by:
In my custom menu one menu item opens a form to add new Makes to TblMakes and another menu item opens a form to add new Models to TblModels. I have a form that has a combobox for Makes and a...
5
by: Henry | last post by:
Please forgive me if I have missed an obvious answer to this question... I am looking at controls like comboBoxes, ListBoxes, and Trees and trying to understand how to associate what is viewed in...
4
by: bill yeager | last post by:
I have several template columns inside of a datagrid. Inside of these template columns are databound listboxes: <asp:TemplateColumn HeaderText="Crew Chiefs"> <ItemTemplate> <asp:listbox...
0
by: Terry D | last post by:
I'm having an issue with an ASP.NET page (VS.NET 2003, VB.NET, Oracle back end). The page uses the standard VS.NET grid to display the records from a particular table. The user can edit certain...
1
by: Ryan Ternier | last post by:
I have two listboxes, and allow users to move items between them via the following function: function SwitchList(fbox, tbox){ var arrFbox = new Array(); var arrTbox = new Array(); var...
0
by: Luis Esteban Valencia | last post by:
have a problem and I'm not sure how to handle/fix it. I have three listboxes on my page. The first listbox has a list of software products. When you select an item in the Products listbox, then...
2
by: salad | last post by:
This is a tip on how to speed up listboxes DRAMATICALLY. Persons that would benefit are those that are constantly updating the rowsource of a listbox/combobox in order to filter and sort the data...
2
by: Matt | last post by:
Hi all, me again! :) I've now got an issue with combo boxes. Basically, I have a number of items that I want a user to pick from a single list. It's basically along the lines of: Fruit 1: ...
2
by: Wingot | last post by:
Hey, I have a view to a database that I have created for Client Maintenance. It has a number of fields, but the important ones are Medical Condition, Bill To, and Country. I have a couple of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...

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.