Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting A Value From A Table Behind the Scene

Status
Not open for further replies.

jds92257

Technical User
May 3, 2003
3
US
Hello,

I’m new to programming in Access and have had some experience with VB. I have a database with two tables (see formats below). On the new entry form I plan to have a ComboBox with a “Find” function. What I’m wondering is once a title is selected, how do I code a query to put the result into [TblName].[TITLE_CODE]?

Thank you,
Joel Stevey

TblName:
LAST
FIRST
TITLE_CODE
ADDRESS
CITY
STATE
ZIP

TblTitles:
TITLE_CODE
TITLE
 
you dont have to code anything.
i'm assuming the RecordSource of the form is tblName.
you make the Control Source of the combo box be TITLE_CODE and the Bound Column be 1, then the TITLE_CODE will just go into the table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top