Solved

Access 2007 How to change a form that updates a table

Posted on 2011-09-21
2
198 Views
Last Modified: 2012-05-12
I'm new to access, so this question is probably simple.  I'm looking at a db someone else created.  It has table "location" containing ID (autogen'd), and location name(text). There is a form that creates/updates records in another table - let's call it "targetA".  This form contains a dropdown allowing users to pick a location.  The user picks a location name (text), and the corresponding ID number is posted to targetA.  Where/how do I change it so the location name gets posted to targetA instead of the ID?
0
Comment
Question by:Scarlett20
2 Comments
 
LVL 31

Accepted Solution

by:
Helen_Feddema earned 250 total points
ID: 36577215
Instead of posting the location name to targetA, just post the ID.  That is proper technique for a normalized database.  You can display the name on the form (and elsewhere) using the linking field.
0
 

Author Closing Comment

by:Scarlett20
ID: 36930925
Helen - thanks so much!
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now