Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2008

Tip: Looking for answers? Try searching our database.

populate form fields based on combo box selection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mamaestes - 17 Mar 2008 22:38 GMT
I've been reading through the other requests and trying to follow along, but
I'm having trouble...

I have two tables - Persona Data and Incident Reports

I want the data entry clerk to use a combo box to select a student
This combo box (which works) pulls the student ID (bound) and shows the
student first and last names.

Then...and this is where I have trouble...I want the student's First and
Last Name to populate those text boxes on the form (but not be bound to the
table...as I don't wish to duplicate data and want to use the Student ID
field as the common identifier).

When I click on the Student ID field in my Incident Report form, I can view
the combo box  with all three fields displayed (Student ID, First Name, Last
Name)...and when I select a name, it populates the field (and the Incident
Report Table) with the Student ID number. But I can't get it to display the
first and last names in their text boxes.

I'm sure this is a simple fix, but I've been at it so long I'm ready to pull
my hair out!
Help! What other info can I give to help you help me? Please...I'm desperate
and need to get this done!
NetworkTrade - 18 Mar 2008 00:15 GMT
make your first name unbound text box to have the control source:
=ComboBox.Column(1)

make your last name unbound text box to have the control source:
=ComboBox.Column(2)

the numbers can correspond to any columns found in a combobox.....the first
column is usually (0) though I think that rule changes to (1) in the most
recent version...can't remember at the moment....but overall this is the
idea....

Signature

NTC

> I've been reading through the other requests and trying to follow along, but
> I'm having trouble...
[quoted text clipped - 20 lines]
> Help! What other info can I give to help you help me? Please...I'm desperate
> and need to get this done!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.