Solved

Access 2007 How to change a form that updates a table

Posted on 2011-09-21
2
204 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

820 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