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

Select field entry by pull down list of another table

I would like to be able to select a field entry in Table A from a pull down list populated from Table B which is linked to Table A by that field. ie Table B contains the Server ID as key plus descriptive attributes. I also have an Applicatio9n Table and when entering data into the Application Table I wantto be able to enter the Server ID for that application and get it from a pull down list created from all the Server ID entries in the Server ID table

is this doable?
thanks
Dick
Dec 23 '10 #1
3 2210
mshmyob
904 Expert 512MB
Yes.

cheers,
Dec 23 '10 #2
mshmyob
904 Expert 512MB
Just kidding.

If I understand you correctly you have two tables (tblServer, tblApplication)linked via the SERVERID. You have a form for filling in records for the tblApplication and wish to have a combo box that reads the values from tblServer that displays your ServerID descriptive name but then stores the ServerID into the Application table.

If that is correct then you need to:

1. Create a form that is BOUND to the Application table.
2. Create a combo box on the form with the following properties
  • Control Source: ServerID (or whatever your field name is)
    Row Source: SELECT [tblServer].[ServerID], [tblServer].[ServerName] FROM tblServer ORDER BY [ServerName]; (change table names and field names as required)
    Bound Column = 1
    Column Count = 2
    Column Width = 0;1 (or whatever you want)
That should do it. If this is not what you wanted then please explain better.

cheers,
Dec 23 '10 #3
many thanks
Dec 24 '10 #4

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

Similar topics

1
by: mammothman42 | last post by:
hi i have a html pull down list (<SELECT etc etc <OPTION VALUE .....) and i have the particular value the user last chose it to be in a $_SESSION. How do i set the selected item of the list to...
3
by: Matthew Louden | last post by:
if the user select the EmployeeID in drop down list, and then click the submit button, and it will look up database and show the Employee Name in the text box, this is easy. But my case is:...
4
by: Fiala | last post by:
Table A +--------+-----------+ | A-num | text | | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | +--------+-----------+
1
by: Nick J | last post by:
Hi, I have a command button, when I press it I would like it to find the record I have specified in a text box on the current form and to pull fields such as Address 1 and Address 2 from another...
0
by: guidopapinino | last post by:
What I want to do is have 2 pull down lists, for example a state pull down list and a city pull down list. What I would like to have done is when you select a state from the state pull down list...
1
by: SpankyTClown | last post by:
Hi, Problem: How do I create a form that contains a pull down list for the source and destination (reference the table definition shown below) that shows the name of the item not the id number?...
1
by: SkipNRun | last post by:
I am a novice when comes to JavaScript, AJAX. I am working on a form, which will allow users to update their contact information. In order to make the form flexible, I need to use pull down list. ...
6
by: HughMcMenamin | last post by:
Hi All ~ First time posting. I have a module that works ... it contains: Set objCDOMessage = CreateObject("CDO.Message") With objCDOMessage Set .Configuration = objCDOConfig .From = "PSS...
2
by: radforms | last post by:
Hi All, just wondering someone out there could help me solve a little problem in my mysql database: Table 1 Name: wp_wpsc_product_files Fields: ID, Name, Description, Additional_Description ...
1
by: lonjovy | last post by:
So,please help me to split value from table like below field A has value below 13974;14098;14237;14269;14317;14319;14392;14393;13257;13983;13820 and i need to split and down value in row like...
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:
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...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.