Results 1 to 7 of 7
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Error in tutorial # 34.

    In the tutorial listed here: http://www.functionx.com/access/Lesson34.htm.

    I should have the output

    SQL statement:

    SELECT Customers.CustomerID,
    Customers.AccountNumber AS [Account #],
    Customers.FullName AS [Customer Name]
    FROM Customers;

    However, I have the following SQL statement:

    SELECT Customers.CustomerID,
    Customers.AccountNumber AS [Account #],
    Customers.FullName AS [Customer Name]
    FROM Customers ORDER BY Customers.[AccountNumber];

    I am not sure if this "ORDER BY Customers.[AccountNumber] : is even important
    I is just at the end of my SQL code and not shown in the tutorial. is it relevant?


    Is just another typo in this tutorial?

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    If you created the query in design view, you added a sort in the Sort row. You can delete that if you want, and only lose the sorting.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Then why is ORDER BY in query if not instructed to do it?

    I doubt record order is relevant or will have any impact on your progress through the tutorial.

    This tutorial uses spaces and special characters/punctuation in names. Advise not to follow this convention, even with alias names. Only exception is the underscore.
    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.

  4. #4
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    How do I delete the sort in the Sort row?

    R,

    Lou Reed

    In other words, how do I change this?
    Last edited by Lou_Reed; 12-29-2015 at 01:53 PM. Reason: additonal script

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Select (not sorted) in the Sort: row dropdown.
    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.

  6. #6
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Please be more explicit.

    Do I have to make that whole tutorial section over again? Can I not just change sort to not sorted or something like that?

    Thanks in advance.

    R,

    Lou Reed

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Basic Access functionality. Open query object in design view, modify as you see fit.
    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. Error in tutorial Lesson 37
    By Lou_Reed in forum Access
    Replies: 8
    Last Post: 09-28-2015, 07:42 AM
  2. Error in tutorial
    By Lou_Reed in forum Access
    Replies: 2
    Last Post: 09-14-2015, 02:02 PM
  3. Error at end of Northwind tutorial
    By Lou_Reed in forum Access
    Replies: 2
    Last Post: 06-05-2015, 01:51 PM
  4. Another error in Ceil in Tutorial
    By Lou_Reed in forum Access
    Replies: 3
    Last Post: 04-22-2015, 11:15 AM
  5. Error in Ceil Inn tutorial
    By Lou_Reed in forum Access
    Replies: 16
    Last Post: 04-17-2015, 06:57 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