Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    gregu710 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    Frederick, CO (near Longmont and Boulder)
    Posts
    40

    That seems to have done the trick. SO, if I understand right, adding "Serial Number" into the ConcatRelated string maintains the order of the Serial Numbers? Interesting! Now I have to compare this to the setup I have for Controllers and figure out where I'm differing there, because it is still jumbling even with the new code. The two should be identical, but obviously not. Thank you for helping "set things in order"!

  2. #17
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Happy to help! If you look at the function, it has an optional argument for sort order, which you weren't providing. It should work for the other too, though you may need to specify a different field.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #18
    gregu710 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    Frederick, CO (near Longmont and Boulder)
    Posts
    40
    Quote Originally Posted by pbaldy View Post
    Happy to help! If you look at the function, it has an optional argument for sort order, which you weren't providing. It should work for the other too, though you may need to specify a different field.

    Very interesting indeed. When I use "Unit" (the field that is supposed to control the order in all of the data tables) for Controller, it works as desired, i.e. everything is in the right order, whereas I had to use "SerialNumber" for the Motors table to get it to work right. Makes me think I have a "hidden" sort order somewhere that I need to ferret out! Of course, understanding the syntax and function of each part of a command definitetly helps a tremendous amount. Going to have to get into a class or do more studying, that's for sure!

    Thanks for everything!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Formatting a concatenated field
    By kris335 in forum Access
    Replies: 14
    Last Post: 09-21-2011, 09:56 AM
  2. Replies: 2
    Last Post: 08-18-2011, 11:40 AM
  3. Formatting a Concatenated Field
    By CoachBarker in forum Queries
    Replies: 2
    Last Post: 09-23-2010, 09:12 AM
  4. Sum values in concatenated fields
    By jdrubins in forum Reports
    Replies: 4
    Last Post: 09-01-2009, 07:20 AM
  5. organizing serial numbers and quantities
    By Diomeneus in forum Access
    Replies: 0
    Last Post: 11-14-2008, 03:17 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