Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2007, 06:48 PM
Authorized User
 
Join Date: Mar 2007
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crosstab Query Reporting Question

Hi All,

I have a problem that has me running in circles, so i have come to ask for some assistance. Here goes

i have a crosstab query that works perfectly, the query design is as follows
Field 1 = Stores (Group By and Row Heading) - txt field
Feild 2 = RunNumber (Group By Column Heading) - txt field
Field 3 = Amount (Sum, Value) - Curr Field

nb no data in this crosstab is static, it changes monthly and each months data is set via a simple date param.

Now i can create a report for this no probs, but the report uses the Row and Column Headings as fields,(which is how the reports work)

My Prob = as the data in the Row and Column fields changes monthly i cannot have a std report stored in access to use each month. Is there a way of being able to output this data to a report each month without the need to create a new report or export to excel, rft etc.
My goal is to have the end user click a cmd button and the report will print for the month they are working in.

I realise this may be a major task to post here, but even if a few pointers could be given to me that could set me off in a positive direction would be great.

if my explaination is a bit grey let me know and i will try to explain further

Thx

Darren


 
Old May 8th, 2007, 06:24 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes, I am not sure I know what you mean when you say that "as the data in the Row and Column fields changes monthly i cannot have a std report stored in access to use each month."

Usually the row and column headings would either stay the same or be dynamic month to month. What about this is changing that does not allow you to use a standard format?

Otherwise, you may have to make changes to the report programatically. Can you post some sample xtabs that have the different values?

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Crosstab or Union question hshah SQL Server 2000 4 August 10th, 2007 04:12 AM
Crosstab query with no results edubbelaar Access 0 November 22nd, 2004 06:12 AM
Crosstab Query Ben Access 7 November 22nd, 2004 06:08 AM
Crosstab query Berni016x SQL Server 2000 2 September 17th, 2004 10:43 AM
Crosstab query vladimir Access 1 December 1st, 2003 04:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.