Results 1 to 2 of 2
  1. #1
    VictoriaAlbert is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Apr 2011
    Posts
    16

    Make new field based on previous field's answer


    I have a Field X in Table A that is populated with one of a few choices from a survey (Strongly Agree, Agree, Disagree, etc), and I need a new Field Y which converts that Text String answer into a number (Strongly Agree = 4, Agree = 3, etc), so I can do some basic calculations. Table B indicates which survey answer corresponds to which numerical value. I am looking for a way to populate Field Y automatically by having Access look up the entry for Field X in Table B.

    This seems simple enough, but I am new to Access (would have used VLOOKUP in Excel). Because I need to do subsequent calculations on the values, I figure that creating a new field with the numbers would make the most since, and I only have about 100 entries, so time/storage should limit me from creating a new field rather than running a query.

    Thanks for your help.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Standard design would be to only store the numeric value, but:

    http://www.baldyweb.com/Autofill.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Populate field from field on previous record
    By randolphoralph in forum Forms
    Replies: 7
    Last Post: 03-04-2011, 11:28 AM
  2. Autofill from Previous Field
    By Dan Kenton in forum Forms
    Replies: 1
    Last Post: 02-16-2011, 11:15 PM
  3. Replies: 5
    Last Post: 01-20-2011, 11:36 PM
  4. Selecting a corresponding table field based on text field.
    By michaeljohnh in forum Programming
    Replies: 5
    Last Post: 10-08-2010, 10:33 AM
  5. Replies: 2
    Last Post: 05-05-2010, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums