473,324 Members | 2,002 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,324 software developers and data experts.

My own lookups - enter one thing, table another

Hi everyone,

I've created a table of values (LookUpSchoolNames) that I use in combo boxes on my form. The table where the data is stored is set to read LookUpSchoolNames in the appropriate fields. I have NOT used the LookUp Wizard.

My problem is that I would like the form combo box to show only the school names, but I would like the table to store the SchoolID number that I have defined in LookUpSchoolNames.

All of the instructions I've found pertain only to LookUp tables constructed in the wizard. (Bound Column, etc.) Any thoughts? Thanks!!!
Oct 19 '06 #1

✓ answered by NeoPa

In the ComboBox, set two columns - ID & Name.
Set Bound Column to the one to be accessed (probably ID) but in the column widths, set the width of the one you don't want to show to zero.
Column widths are separated by ';' so in a 5cm ComboBox the ColumnWidths would be "0cm;5cm".

2 1153
NeoPa
32,556 Expert Mod 16PB
In the ComboBox, set two columns - ID & Name.
Set Bound Column to the one to be accessed (probably ID) but in the column widths, set the width of the one you don't want to show to zero.
Column widths are separated by ';' so in a 5cm ComboBox the ColumnWidths would be "0cm;5cm".
Oct 19 '06 #2
Perfect! Thank you. That was much easier than I would have thought.
Oct 19 '06 #3

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

Similar topics

3
by: Gigi.com | last post by:
Hi All. I need some help trying to pull prices from a price matrix. Here's an example: >>>> 1000 1500 2000 2500 ----------------------------------------- 1000 ¦ 10.20 ...
5
by: Eddie | last post by:
I have an Access database that tracks project information. The database is very simple, except for 1 small aspect. Some background: 4 Tables - Project information, Employees, activity and pay...
5
by: Don Sealer | last post by:
I'm beginning to understand a little about lookups, but just a little. Here's another question I'm wondering about. I want to input a part# and then input a department code (G,D,B) and depending...
1
by: Russell | last post by:
Hi, I've been reading a lot about not using lookups in tables lately. Thus far, what I've been able to understand from my reading is this: - Do not use lookup fields in tables because they...
5
by: AnAnimal | last post by:
We are moving a rather large application to the VB.NET platform. This application has a ton of table lookups. ie. code & description or code, category & description or code, class, category &...
2
by: filbennett | last post by:
Hi Everyone, I'm generally unfamiliar with Access form design, but have programmed Cold Fusion applications for a couple of years. I'd like to build a data entry form in Access that allows the...
6
by: mac | last post by:
Summary: 1. I want to define a column in anMS Access table to be lookups on other tables. 2. The table that is the data source (e.g the "parent" table) has a composite primary key. 3. When...
2
by: King Ron | last post by:
Ola all. In responding to a recent post requesting help with a search issue, I recommended using a combo box lookup in the table design. "paii, Ron" (no relation) posted this reply: " There are...
4
by: netnewbie78 | last post by:
Hello All, I don't have a problem (but maybe I will after I explain). I have a question with regards to something I saw in Access 2007. But first, a little backstory: I'm writing a very small...
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...
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...
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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

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.