Results 1 to 4 of 4
  1. #1
    successfulfail is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    2

    Question Microsoft Access query name arrangement from the table

    Hello, I'm just learning how to use Microsoft Access from the school.



    My teacher says that I have to get "Last Names" from the "Club Members" table and get all the last names starts with the letter "D".

    I know how to do this with using the "Filter" function. However teacher says that I must create a new query to do this.

    I have no problem with getting Field to "Last Name" and Table to "Club Members" I just don't know how to sort the names out without using the "Filter" function on queries....

    Please help!


    Many thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,600
    I don't understand. What do you mean by 'filter function' - the Filter property? Use criteria row in query designer to filter records. For your requirement, the SQL would be something like:

    SELECT * FROM [Club Members] WHERE [Last Names] LIKE "D*";
    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
    successfulfail is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    2
    Quote Originally Posted by June7 View Post
    I don't understand. What do you mean by 'filter function' - the Filter property? Use criteria row in query designer to filter records. For your requirement, the SQL would be something like:

    SELECT * FROM [Club Members] WHERE [Last Names] LIKE "D*";
    Sorry, what I mean by "Filter function" is just the filter feature you can see it on the Home menu...


    So far from the Expression Builder I have got:

    " [Club Members]![Last Name] "

    How would I be able to show: Last Names that starts with the letter "D"?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,600
    Why are you using Expression Builder?

    I gave you an example query that will produce the output you describe. Use the Query designer. This is VERY basic Access functionality. You should review textbook or consult with instructor.
    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.

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

Similar Threads

  1. Replies: 37
    Last Post: 09-15-2011, 11:57 AM
  2. Replies: 1
    Last Post: 09-13-2011, 01:52 PM
  3. Export table from Oracle to Microsoft Access 2007
    By dba in forum Import/Export Data
    Replies: 1
    Last Post: 02-25-2011, 07:05 AM
  4. Replies: 0
    Last Post: 10-13-2010, 03:28 PM
  5. Linking Microsoft Word Form to Access Table
    By jrockusa in forum Access
    Replies: 1
    Last Post: 12-03-2009, 05:09 PM

Tags for this Thread

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