Results 1 to 4 of 4
  1. #1
    dada is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    40

    Selecting the last value of the table and show

    can anyone tell me the sql query to be use to select the last record of a table? thanks in advance!

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    use the LAST() function

  3. #3
    dada is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    40
    mind giving an example about it? hmm..

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    dada,

    here is some friendly advice. do some research on how to "basically" operate access. I've noticed you post a lot of questions here and you might get "more bang for your buck" if you just took the plunge and studied the program for a couple hours instead of posting multiple questions here that can be answered that way alone. Just a thought for you.

    I say that because questions like this are very basic. LAST() is a built in function in this program. Look it up in the help menu to see the arguments. Example in a query:
    Code:
    SELECT LAST([field])
    TECH ON THE NET is a great resource for functions. e.g. - http://www.techonthenet.com/access/functions/

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

Similar Threads

  1. Data won't show up in table field
    By texzen123 in forum Forms
    Replies: 3
    Last Post: 11-26-2009, 11:20 AM
  2. Replies: 1
    Last Post: 07-12-2009, 05:09 PM
  3. Show two tables in single table
    By access in forum Forms
    Replies: 8
    Last Post: 06-11-2009, 11:57 AM
  4. Replies: 0
    Last Post: 11-11-2008, 07:15 AM
  5. Replies: 1
    Last Post: 03-17-2006, 12:04 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