Results 1 to 6 of 6
  1. #1
    BigMac4 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    30

    Query returning numbers instead of Names

    Hi all



    I have a simple query that is set to return the last data dependant on a date, the thing is some of my fields that have names in them return with a number not the name must be a setting wrong somewhere but cant find it.


    Any help apprieciated.

    Mac

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Are you per chance using "LookUp" Fields? http://access.mvps.org/access/lookupfields.htm

  3. #3
    BigMac4 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    30

    Query returning numbers instead of Names

    Yes I am and it returns the number that represents the data I want so if I want bill and it's third on the list it returns 3. Can't stop it, starting to annoy Abit now.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Anf if you followed the link you will see why they are avoided by most developers.

  5. #5
    BigMac4 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    30

    Query returning numbers instead of Names

    I'm going to have to take it out I think.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That would be a wise decision. Having LookUps at the Form level is just fine. Having them at the table level just confuses the programmer.

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

Similar Threads

  1. Changing names to ID numbers
    By marksnwv1957 in forum Access
    Replies: 4
    Last Post: 08-28-2012, 03:47 PM
  2. Names not Numbers
    By leeli67 in forum Database Design
    Replies: 12
    Last Post: 02-27-2012, 11:42 AM
  3. Query Entity Names, and Column Names
    By Accidental DBA in forum Queries
    Replies: 1
    Last Post: 07-22-2011, 02:38 PM
  4. Replies: 5
    Last Post: 04-24-2011, 03:14 AM
  5. Query - Returning ID instead of Value...??
    By Poolio in forum Queries
    Replies: 5
    Last Post: 04-18-2011, 07:10 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