Results 1 to 3 of 3
  1. #1
    melb is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2015
    Posts
    12

    Converting Employee Number into Text

    I have one table with an auto-number field which creates an employee ID. I have another table where I want an employees name to appear rather than the ID. How can I convert these ID numbers into a name?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Really should not work directly with tables/queries for viewing/editing data. Build forms and reports.

    Save the ID into 'other' table and build query that joins the two tables.

    Could build lookup in the 'other' table but I don't recommend this.
    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
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Also,
    I have one table with an auto-number field which creates an employee ID
    Not a good design idea if it really is an automunber type field.

    See
    Autonumbers--What they are NOT and What They Are
    http://www.utteraccess.com/wiki/index.php/Autonumbers

    Especially #6 under "What they are NOT" and also at the bottom -> 1 through 5.

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

Similar Threads

  1. converting number into words
    By joshynaresh in forum Forms
    Replies: 16
    Last Post: 02-28-2014, 12:29 AM
  2. Converting a Number to Decimal
    By lwilt in forum Access
    Replies: 5
    Last Post: 10-11-2013, 05:02 PM
  3. Converting lookup text field to number for primary
    By Ruegen in forum Database Design
    Replies: 4
    Last Post: 09-11-2013, 08:23 PM
  4. Converting text to number type
    By togo in forum Access
    Replies: 12
    Last Post: 09-18-2012, 12:59 PM
  5. Replies: 1
    Last Post: 10-24-2010, 07:42 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