Advertisement

10.30.2007 at 11:23AM PDT, ID: 22927814
[x]
Attachment Details

Techniques for very wide report with variable number of columns

Asked by dqmq in Visual Basic Programming, Microsoft Access Database, Access Reports

Tags: columns, number, reports

I've been tasked with developing a report and I'm looking for ideas on how to approach it.  I can develop the report with MsAccess, SQL Server, or VB--so answers applicable to any of those  tools are acceptable.   However, I'm especially interested in techniques that will work across the board.

Two things make the report unusual.  First, while the report is basically a grid format, the number of rows and columns in the grid is data-driven and not known at design time.  Think of a room reservation system.  Each room is reported on a separate line and it has a separate column for each day. So, if the report is requested for N days, it will have N+1 columns: one to identify the room and one for each day.   A 7-day report has 8 columns and 30-day report has 31 columns.  I'm looking for techniques to deal with the varying number of columns, the actual number which cannot be determined until the report is run.

Second, the number of columns can be quite large.  So, I'm also looking for techniques on ways to "split" the report if the number of columns exceeds what can comfortably fit on a page.  But, I don't want to split the report in the middle if a column.  What makes that complicated, is that I don't know the paper size until the report is generated.  

I realize this is an open-ended sort of question, but certainly, it's come up before.  Any ideas?




Start Free Trial
[+][-]10.30.2007 at 11:34AM PDT, ID: 20179723

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.30.2007 at 11:35AM PDT, ID: 20179737

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.30.2007 at 01:21PM PDT, ID: 20180783

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.10.2007 at 10:47AM PST, ID: 20256616

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.10.2007 at 11:04AM PST, ID: 20256664

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.11.2007 at 07:25AM PST, ID: 20259209

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.18.2007 at 10:16PM PST, ID: 20310559

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 09:23AM PST, ID: 20313783

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 09:26AM PST, ID: 20313799

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2007 at 08:39PM PST, ID: 20317638

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Access Database, Access Reports
Tags: columns, number, reports
Sign Up Now!
Solution Provided By: ragoran
Participating Experts: 3
Solution Grade: B
 
 
[+][-]11.20.2007 at 10:43AM PST, ID: 20322033

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.20.2007 at 12:47PM PST, ID: 20323034

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.03.2007 at 09:57PM PST, ID: 20401169

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628