• Sort order in the Expression Builder

    Author
    Topic
    #478939

    The middle box of the Expression Builder can list all the objects on a selected form or report.

    I always find it hard to find things in the list as they seem to be in a completely random order.
    Or is there some order there that I can’t see?

    28916-ExpressionBuilderSort

    Viewing 4 reply threads
    Author
    Replies
    • #1298480

      I’m guessing it is because that is the order the objects were added to the form.

      • #1298516

        I’m guessing it is because that is the order the objects were added to the form.

        I agree that sounds like a reasonable guess, but it is not accurate.

        I did some testing on this, the latest addition was down towards the bottom, but not last.

        Because I did not seem to be getting any response here, I also posted this question here where there is some discussion.

    • #1298637

      I would suggest posting it to Microsoft Answers if you want the Access team to chime in.

      Boyd Trimmell aka HiTechCoach
      Microsoft MVP – Access Expert

    • #1298658

      Thanks for that suggestion Boyd, I have posted the question there.

    • #1298898

      Please let us know what you find out.

    • #1298922

      Nothing much to report. Gina Whip has responded that she too finds it annoying.

      I did a test and found that the list produced by this routine lists items in the same order as the Expression Builder.

      Code:
      Public Sub sbListControls(frmForm As Form)
          Dim ctrl As Control
          For Each ctrl In frmForm.Controls
              Debug.Print ctrl.Name
          Next ctrl
          Set ctrl = Nothing
      End Sub
    Viewing 4 reply threads
    Reply To: Sort order in the Expression Builder

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: