473,382 Members | 1,332 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Too many headers in a report

2
I am trying to generate a report that will provide information on whether a unit participated in an event or not utilizing the Yes/No check box. The problem is that I have over 40 units to identify in this report, and can not fit the unit identifier (headers) across the top of a single page.
Since I will never have more than 20 units participating in a single event, and that amount of headers would fit on a single page. Is their a way to filter the headers so that only the headers for units that have a "Yes" associated with them as participating in the event would show up? Thank you in advance.

Loren
Feb 12 '08 #1
4 1608
Minion
108 Expert 100+
I am trying to generate a report that will provide information on whether a unit participated in an event or not utilizing the Yes/No check box. The problem is that I have over 40 units to identify in this report, and can not fit the unit identifier (headers) across the top of a single page.
Since I will never have more than 20 units participating in a single event, and that amount of headers would fit on a single page. Is their a way to filter the headers so that only the headers for units that have a "Yes" associated with them as participating in the event would show up? Thank you in advance.

Loren
Loren it is in fact possible to filter the records to include only those that have participated. To get you started check out this article Creating Dynamic Reports with VBA as I think it will get you moving in the right direction.

Hope this helps.

- Minion -
Feb 12 '08 #2
mshmyob
904 Expert 512MB
Yes. I can think of two ways off the top of my head.

First is from the form that calls the report you could do the filtering and pass the results to the report variables.

or in the report directly you could go into the 'ON FORMAT' event in the DETAIL section and setup if statements or case statements there.

I am trying to generate a report that will provide information on whether a unit participated in an event or not utilizing the Yes/No check box. The problem is that I have over 40 units to identify in this report, and can not fit the unit identifier (headers) across the top of a single page.
Since I will never have more than 20 units participating in a single event, and that amount of headers would fit on a single page. Is their a way to filter the headers so that only the headers for units that have a "Yes" associated with them as participating in the event would show up? Thank you in advance.

Loren
Feb 12 '08 #3
LorenS
2
Thanks for the responses. I am quickly becoming more and more educated with access, but have only slightly dived in to VBA code so I dont have the knowledge to know what code to write yet for my issue.
Any further guidance would be greatly appreciated.

Thank you!
Feb 19 '08 #4
mshmyob
904 Expert 512MB
Here is an example of a vertical report and a Dynamic Horizontal report. Check out the code under the Horizontal Report button ON Click event and the Code in the Open Form event of the report rptParticipatedHorizontal.

Vertical Report uses the Select Query and the Dynamic Horizontal report uses a Cross Tab query.

Thanks for the responses. I am quickly becoming more and more educated with access, but have only slightly dived in to VBA code so I dont have the knowledge to know what code to write yet for my issue.
Any further guidance would be greatly appreciated.

Thank you!
Attached Files
File Type: zip pass2report.zip (45.6 KB, 97 views)
Feb 20 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dariusz | last post by:
I have a problem where when I run the PHP code offline, there are no errors produced and the code runs as expected. However when I uploaded the same script and run it, it says the headers have...
2
by: Dalan | last post by:
What would be the best approach in populating all report headers with the same secondary name, i.e., ABC Company? Manually typing in the same name as a label on 40 different reports is not an...
2
by: Sherwood Botsford | last post by:
I'm new to access. I have an orienteering database that has information about locations all over the map. Each location has 0-N clues I've worked up a report that will print the locations,...
3
by: John M | last post by:
Hi, I must be missing something blindingly obvious. If I don't want a page header to appear on a report header I set 'Not with Rpt Hdr/Ftr' in the report. But I don't want the Page Header...
1
by: John M | last post by:
I know that you can make a cross tab query and get the fields as headers but it makes the form or datasheet unusable, ie cant add any data in the resulting fields. Is there a way of making a table...
2
by: John Walker | last post by:
Hello, Below is my code for exporting a datagrid to Excel. It works fine, but we're going to need to somehow have a report header, user input parameters and system date display at the top of the...
1
by: Justin Bezanson | last post by:
I have got the following report running as described in my other post http://forums.asp.net/thread/1320780.aspx I would like to know how to change the generic column headers (column1,2,3...) to...
4
by: PLS | last post by:
This problem is entirely in Microsoft's VS2005 C++ headers, so I'm hoping someone has hit it before and knows the fix. I am convertied a medium size (400k lines) C++ program over to VS2005...
3
by: GazK | last post by:
I have been using an xml parsing script to parse a number of rss feeds and return relevant results to a database. The script has worked well for a couple of years, despite having very crude...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.