Results 1 to 2 of 2

Thread: Access Reporting Function

  1. #1

    Thread Starter
    New Member Relg's Avatar
    Join Date
    Apr 2001
    Location
    Sydney, Australia
    Posts
    8

    Unhappy Access Reporting Function

    Hey All

    I would lik to increase the flexibility of the reports in my access 2000 db. I have several reports which would be useful to sort by different fields. Is there anyway of changing the sql string at runtime, either from a form which opens a report, or from the report itself, in order to change the sort order on the form???


    ive tried some vb code which tries sets the records source, however it doesnt seem to like it.

    Thanks

    Relg

  2. #2
    Fanatic Member Gaffer's Avatar
    Join Date
    Nov 2000
    Location
    London
    Posts
    828
    How about rptMyReport.OrderBy = 'MyField' ?

Posting Permissions

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



Click Here to Expand Forum to Full Width