Results 1 to 3 of 3

Thread: Access reports

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    Washington DC
    Posts
    330

    Access reports

    I need to beable to build a report based on a crosstab query where the column heading change based on a user input date range. I have been unable to locate any reference material on this and am looking for assistance.


    Thanks,

    Swoozie

  2. #2
    Addicted Member Mandelbrot's Avatar
    Join Date
    Aug 2001
    Location
    Work, as usual!!
    Posts
    241
    Swoozie,


    This is not easy, unfortunately. If you have a fixed number of columns then this isn't so bad - you name the control's data-source on the report to be the same as the column in the cross-tab. The problem comes when you have dynamic columns. One way around this is to restrict the data the user can see, thus giving you your fixed column heads. You may still need to programatically drop the column names into the text controls on the report, though.

    Cross-tab queries are EVIL, though, and should be banished from the face of the planet, or strapped to Bin Laden's backside and hit with a rocket.


    Hope this helps ... (even in the slightest!)

  3. #3
    Addicted Member Mandelbrot's Avatar
    Join Date
    Aug 2001
    Location
    Work, as usual!!
    Posts
    241
    Sorry I haven't got back to you Swoozie. Just a quick note for you. Creating queries then deleting them can dramatically increase the size of your db. Be sure to compact at least once a month if this is a big db, and even more frequently if it is huge...


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