Results 1 to 6 of 6
  1. #1
    cam2era is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    9

    Query returning fields not chosen

    Hi. I'm new to Access 2010 and I've run accross a perplexing problem. My queries return all the fields in a chosen table, in spite of the fact that I've chosen just a subset of fields. The fields I've chosen show up in the order which I request them. Then the remaining fields are inserted afterwards.

    Is this a known issue? The database was originally created years ago in Ver 2003.

    Thanks,


    -Ernie

  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
    Post the SQL View of your query please.

  3. #3
    cam2era is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    9
    Sql view:

    SELECT [SKS_MinMetab-Diet].serial_id, [SKS_MinMetab-Diet].visit_number, [SKS_MinMetab-Diet].fgf, [SKS_MinMetab-Diet].pth, [SKS_MinMetab-Diet].d2425, [SKS_MinMetab-Diet].d25_d3, [SKS_MinMetab-Diet].d25_d2, *
    FROM [SKS_MinMetab-Diet];


    I now see the , * (comma asterisk). I can delete this in sql view, but why would it show up in the first place?

  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
    I really don't know but if your issue is resolved then go ahead and use the Thread Tools and mark this thread as Solved.

  5. #5
    cam2era is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    9
    OK. Will do. At least I can move forward now.

    Thanks.

  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
    You're very welcome and welcome to the Forum.

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

Similar Threads

  1. Replies: 2
    Last Post: 03-23-2011, 11:13 AM
  2. Returning inverse of a query
    By caddcop in forum Queries
    Replies: 5
    Last Post: 02-16-2011, 04:48 PM
  3. Union query only returning 255 characters
    By jpkeller55 in forum Queries
    Replies: 25
    Last Post: 10-05-2010, 05:51 AM
  4. Generating report from fields chosen in a form
    By kroenc17 in forum Reports
    Replies: 19
    Last Post: 10-01-2010, 10:38 AM
  5. Query not returning all of the results
    By velvettiger in forum Queries
    Replies: 4
    Last Post: 03-11-2010, 06:56 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