Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004

    Unanswered: Order a report based on form

    I built a search form using sql and vba and can successfully pass the "where" clause to the wherecondition of the print/preview commands, however I am having trouble ordering the report based on selection in the form. I tried passing my strsqlorderby variable in the openargs, and also setting the order by property of the report to a txtbox on my form with the same string in it without luck. any ideas?

  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1
    Do you have grouping levels in the report?

    Grouping levels will override your orderby clause.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts