Results 1 to 5 of 5
  1. #1
    coolpwr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    2

    Simple Design Question


    Hi there MS Access Gurus,

    I am new to Access. I am simply attempting to set the values of one field to another field in the same table e.g. PERSON_NAME = NEW_NAME. Can you recommend a simple way to accomplish this task?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Why need two fields with the same data?

    Access 2010 has field type called Calculated. The expression in the Calculated field can be as simple as: [New_Name]

    Otherwise, use an UPDATE query to populate the PERSON_NAME field with the values from NEW_NAME field.
    Last edited by June7; 04-18-2014 at 09:12 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    coolpwr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    2
    The fields are actually called TYPE and TYPE_CODE and the value of TYPE depends on the value of TYPE_CODE and vice versa. I will explore the calculated field type. In the meantime, where would I apply the update query?

    Quote Originally Posted by June7 View Post
    Why need two fields with the same data?

    Access 2010 has field type called Calculated. The expression in the Calculated field can be as simple as: [New_Name]

    Otherwise, use an UPDATE query to populate the PERSON_NAME field with the values from NEW_NAME field.
    Last edited by June7; 04-18-2014 at 09:12 AM.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Confused. Setting TYPE equal to Type_Code makes no sense. If what you really want is dependent comboboxes, review http://www.datapigtechnologies.com/f...combobox2.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    coolpwr,

    It would be helpful to readers if you could describe WHAT you are trying to do in plain English. Once readers understand your situation they may offer focused advice and/or options.

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

Similar Threads

  1. design Simple Attendance System
    By AzizSader in forum Forms
    Replies: 2
    Last Post: 12-07-2013, 11:26 PM
  2. Simple VBA Question
    By koper in forum Access
    Replies: 1
    Last Post: 01-20-2011, 12:07 PM
  3. Simple question
    By KenM in forum Queries
    Replies: 1
    Last Post: 11-10-2009, 03:32 PM
  4. Database design for simple inventory
    By toptech in forum Database Design
    Replies: 12
    Last Post: 10-24-2009, 07:24 AM
  5. Very simple question!
    By fiddley in forum Programming
    Replies: 2
    Last Post: 04-28-2009, 02:16 AM

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