|
-
Oct 11th, 2001, 09:52 AM
#1
Thread Starter
Hyperactive Member
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
-
Oct 11th, 2001, 02:32 PM
#2
Addicted Member
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!)
-
Oct 17th, 2001, 12:22 PM
#3
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|