473,406 Members | 2,371 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,406 software developers and data experts.

HOWTO: [wierd+wild] columnar reporting w/ varying rows???

nsh
running access 2k;

I have some stats (bowling) that I want to print in columns on a
report.

The top portion of the report will have a team-members name, and the
bottom of the report will have a

sub-report that presents the stats in UP-TO 4 columns.

Here's how it works (in concept):
a team may have 2 to 5 people; not everyone on the team bowls each
week.

So - I want to produce a report that shows up to 4 columns - ONLY the
most current 4 days (TOP 4).
It will look something like this:

NAME 3/1/05 3/8/05 3/14/05 3/20/05
__________________________________________________ ____________
Mary 465 397 525
Harry 592 604 575 602
Jerry 418 427
Gary 214 397 255 327
Larry 601 650 647 599

all of the names [which don't change] are actually on the master report
- only the dates are in the

sub-report.

Here's how the data is structured in tables:
BOWLER BOWL_DAYS BOWL_DATA
b_key (key) b_key (k) b_key (k)
name bdate (k) bdate (k)
score (k)

Now - the organization of the data is set in stone - I've VASTLY
simplified the concept. So the real question is how to do this report.
I've tried everything I can think of:
cross tab queries; queries FROM crosstab Q's; cross tab queries from a
"TOP 4" query;
the sub-report formatted thusly: AND Thusly:
(header) (header)
[mary] [name]
[harry]
[jerry]
[gary]
[larry]

With the "[name]" version, I tried doing some fancy vb record/column
counting, so as to know when to "go to the next column".

Nothing I've tried works right, and/or is error free!

What's the best way to accomplish such a report from the given data
organization?

TIA!!
Ned

Nov 13 '05 #1
2 1385

I noticed you tried doing a crosstab query from a Top4 query, but have
you tried doing a Top4 query on the crosstab?

If you are looking at having multiple teams, you'll need to include
that as your a part of your crosstab, and using that field as a part of
the Top4's selection criteria.

ns*@starnetwx.net wrote:
running access 2k;
I have some stats (bowling) that I want to print in columns on a
report.
The top portion of the report will have a team-members name, and the
bottom of the report will have a
sub-report that presents the stats in UP-TO 4 columns.
Here's how it works (in concept):
a team may have 2 to 5 people; not everyone on the team bowls each
week.
So - I want to produce a report that shows up to 4 columns - ONLY the
most current 4 days (TOP 4).
It will look something like this:
NAME 3/1/05 3/8/05 3/14/05 3/20/05
__________________________________________________ ____________
Mary 465 397 525
Harry 592 604 575 602
Jerry 418 427
Gary 214 397 255 327
Larry 601 650 647 599
all of the names [which don't change] are actually on the master report
- only the dates are in the
sub-report.
Here's how the data is structured in tables:
BOWLER BOWL_DAYS BOWL_DATA
b_key (key) b_key (k) b_key (k)
name bdate (k) bdate (k)
score (k)
Now - the organization of the data is set in stone - I've VASTLY
simplified the concept. So the real question is how to do this report.
I've tried everything I can think of:
cross tab queries; queries FROM crosstab Q's; cross tab queries from a
"TOP 4" query;
the sub-report formatted thusly: AND Thusly:
(header) (header)
[mary] [name]
[harry]
[jerry]
[gary]
[larry]
With the "[name]" version, I tried doing some fancy vb record/column
counting, so as to know when to "go to the next column".
Nothing I've tried works right, and/or is error free!
What's the best way to accomplish such a report from the given data
organization?


Nov 13 '05 #2
nsh
hi Chuck,

Tx much for your reply;

I have not tried reversing the top4/Xtab relationship - would that
really make a difference?
I'll have to check into that....

Right now, I'm only reporting on 1 team - but in the future I expect to
expand that; as well as have the ability to add additional members to
the 1 team (right now it's fixed).

I'll check out reversing - TX....
Ned

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Helmut Jarausch | last post by:
Hi, according to the docs the following should work (IMHO) import csv csv_file= file('test.csv') Inp= csv.DictReader(csv_file,,\ lineterminator='\n')
0
by: George Hardy IV | last post by:
Hello, I have a main project that contained a report form and a report selection form. I would like to break this out into a satellite assembly, but am getting strange errors when I include the...
4
by: Vlady | last post by:
Hello. I recently built an ASP.NET "financial" application. I got to the point where I have a HTML template (a contract) which needs to be filled with various data from the database. I put a...
0
by: Mark Harrison | last post by:
HOWTO: Integrating Posgresql queries into an event loop. Mark Harrison mh@pixar.com May 27, 2004 Problem ------- The commonly used postgresql APIs will block until completed.
6
by: VB Programmer | last post by:
Just loaded up one of my ASP.NET 2.0 projects. When I ran the webapp (IE) I was warned with this message... Your system may be vulnerable to BloodHound Virus! We recommend you DOWNLOAD one of...
0
by: Igor | last post by:
Hi all, I've had these pages that I wrote in php that are used for executing varoius queries. Query results are displayed as tables. Since these tables can be pretty big I'like to give user some...
1
by: iThinkData | last post by:
Should these 3 items, .Net 2.0 Website, SQLServer 2005, Reporting Services 2005. all reside on the same computer? I know that the website issues a configuration error saying it can't find...
6
by: Pieter | last post by:
Hi, For some procedures that throws exceptions, I would like to show different messages to the user depending on what type of exception he's getting. For instance this one: when the file is...
1
by: Cirene | last post by:
I'm having some wierd paging issues with a gridview. Here it is: http://www.gulfstreamonline.com/NonAuctions.aspx Page 2 is empty Page 3-5 have 1 item each Any ideas why?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.