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

Combo Box: Select one field, but store another related field

Hello to all friendly helpful access experts,

I have used Access many times in the past but this problem has always stumped me. I am currently developing a database and am almost certain that it is normalised as I have used numbers instead of long text wherever possible to prevent data duplication. The main problem with is with data entry as the users of this database do not want to be entering

PROBLEM: My form is for data entry purposes, based on a table "Registration". The problem is that the user does not wish to enter into the Combo Box the Club ID (number)

How do I have the combo box select the Club Name, but enter the number of that Club ID into the Registration table (Club ID) ?

*Registration table*
Registration ID
Name ID
Club ID
Month ID

*Club table*
Club ID
Club Name

Any assistance would be much appreciated as this has been bugging me for years :)

Chandeep
Nov 1 '06 #1
3 2043
NeoPa
32,556 Expert Mod 16PB
If you use a ComboBox set it up as follows :-
Row Source Type = Table/Query
Row Source = *Club Table* (whatever the correct name is)
Column Count = 2
Column Widths = 0cm;{n}cm (where n is width of ComboBox)
Bound Column = 1
List Rows = 8 (or whatever you have space for)
Limit to List = Yes

Whenever you then refer to the ComboBox, it will return the selected ID, even though the operator is selecting from a list of names.
Nov 1 '06 #2
Thank you soooooooo much

You have no idea how happy that has made me

Cheers

Chandeep
Nov 1 '06 #3
NeoPa
32,556 Expert Mod 16PB
Thank you soooooooo much

You have no idea how happy that has made me

Cheers

Chandeep
Oh yes I do - I've been there.
I presume from your response that you've tested all ok?

-Adrian.

PS It was made MUCH easier because you laid out the question clearly and fully.
Nov 1 '06 #4

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

Similar topics

5
by: Dalan | last post by:
I have been searching the archives in an effort to discover how to derive a dual use of a single combo box - so far no go. I found the piece below which pretty much represents the usage. To...
1
by: Access User | last post by:
Here is my situation: I have two tables linked together in a many-to-many relation through an interum table. It looks like this... Title TitleTopic Topic...
11
by: my-wings | last post by:
I think I've painted myself into a corner, and I'm hoping someone can help me out. I have a table of books (tblBooks), which includes a field (strPubName) for Publisher Name and another field...
4
by: LD | last post by:
Is there a way in Access to store more than one value in a field that has been selected from a combo box? For example, if a combo box had three values that you can select, "One", "Two", and...
3
by: Mindy | last post by:
Does anyone know the difference between Navigational and Lookup features of combo boxes? I wondered if there were difference between these two if we selecte "remember the value for later use" when...
7
by: Erich Kohl | last post by:
Okay, here's the deal: Let's say a form is based on a table. This form has Field1 (PrimeKey), Field2, Field3, etc. This form also has a subform which shows related records in another table....
8
by: salad | last post by:
I was wondering how you handle active/inactive elements in a combo box. Let's say you have a combo box to select an employee. Joe Blow has been selected for many record however Joe has left the...
2
by: dancole42 | last post by:
So I have a subform that lists the various items on a particular invoice. First, the user selects a product class from the Class dropdown. This is bound to the Class field in the InvioceLines...
4
by: whamo | last post by:
I have the need to populate a field based on the selection in a combo box. Starting out simple. (2) tables tbl_OSE_Info and tbl_Input; tbl_OSE_Info has three fields: Key, OSE_Name and OSE_Wt...
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: 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
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...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.