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

Look up ms access 2003

I have a table with three fields in it which have a combo box lookup. I have then created a form with various fields on it but want the three drop down lookup's to display all three under one column. i.e. lookup's are Order, Forname and Surname. On the form I have selected Order and from that want all three to appear under that column. Can it be done?
Thanks
Dec 2 '11 #1
5 1512
sierra7
446 Expert 256MB
Hi Phil,
I find your explanation a little unclear but I think you are asking whether a combo box can open and show three columns.

The answer is Yes, but you must base the combo box on a query that returns the three columns. This is set in the RowSource of the combo. You will then have to set the Column Count to 3 on the Format tab and then set the Column Widths property to something like '2;2;2cms', then finally set Width to 6cms.

This should get you started. Have fun!

S7
Dec 2 '11 #2
NeoPa
32,556 Expert Mod 16PB
As S7 says, you certainly can have multiple columns in ListBox and ComboBox controls. Only one column can be treated as the value of the control though (but the others are all accessible in VBA via the Columns() property of the control).
Dec 3 '11 #3
Mihail
759 512MB
Hi,

If you wish to see all three field at the same time, under a single combo box, (As S7 and NeoPa assum) I can't understand the logic to use a combo box for that. You can't use this combo box to make three choices. (See #3 - NeoPa).
So, I think that a better way is to use a list box (based on a query as S7 suggest). You can modify the height of list box to show only one row (or two if you set Column Headers to true).

But maybe what assume S7 and NeoPa is wrong and this is only a layout problem.
So, if you wish to show your combo boxes on the same layout column, just move a combo box under the other one by dragging it with your mouse.
Dec 3 '11 #4
sierra7
446 Expert 256MB
Mihail,
Having additional columns in a combo box that only display when the combo is expanded, can be very useful.

If searching for an Order, it is sometime useful to have the customer/client name alongside and pick it out of a combo list. The OP seems to want to use Forename and Surname to differentiate the Orders.

Obviously, if you are certain of an Order Number then a text box is the more efficient way to search, because it does not have the overhead of holding a link to every order on the system.
S7
Dec 4 '11 #5
TheSmileyCoder
2,322 Expert Mod 2GB
Create 2 combobox beneath your existing combobox. Give them the same rowsource, columncount, and bind them to the same field as the original combobox. Now in the 1st of teh new comboboxes, you specify the column width to be 0;3cm;0 (or inches or whatever), and the 2nd of the new combo to have columnwidths 0;0;3m
This means that the forname will be shown in 1 combobox and the lastname shown in the other. Not to confuse the user, I would disable the 2 new combobox, and give them another backcolor, to show to the user they are different (not interactable).
Dec 5 '11 #6

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

Similar topics

2
by: BT Openworld | last post by:
I have just had to upgrade to Access 2003 as Access 97 EMail (SendObject) doesn't work when loaded on Windows XP. I'm finding my way around Access 2003 but my biggest problem is getting...
13
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine,...
5
by: lorirobn | last post by:
Hello, Is there a fix to the Access 2003 problem that makes the tab controls white? I am confused - I have only seen a couple of posts about this on various websites. Have others figured out a...
0
by: kevinsaucier | last post by:
Hello all, I'm sure this has been asked a bunch of times, but I am just not finding the answers that I am looking for. We have developed an application that we plan to market. The app is...
9
by: Neil | last post by:
We have an Access 2000 MDB with a SQL 7 back end. We are upgrading SQL Server to SQL 2005, and are considering upgrading to Access 2003. Someone mentioned that they had heard about some...
3
by: RayPower | last post by:
I'm having a system using Access 2000 as both front-end (queries, forms, reports & temp tables for reports) & back-end (data) with back-end running on the server. The application runs on the...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
5
by: Ecohouse | last post by:
I'm using VB and an Access 2003. The db was originally created in Access 2000, but the computer had to have things reinstalled and now has Access 2003. So I was wondering if there are any...
12
by: sparks | last post by:
My boss and I both have access 97 and access 2003 installed on our systems. Lately he has been having a lot of problems. Databases that won't close. The database looks like it closes but access...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my client is not a major consideration here ... what I'd...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.