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

Access Report Formating Issue

i have attached doc that helps explains want i am trying to do. i am trying to format a report to look like a format i did in excel by using a pivot table.

thanks
Attached Files
File Type: zip Access formating issue.zip (16.1 KB, 61 views)
Jan 22 '10 #1
4 1325
ADezii
8,834 Expert 8TB
The only option that I can see is an 'Unbound', pre-formatted Reports with a mountain of code to 'Pull' the data in.
Jan 22 '10 #2
nico5038
3,080 Expert 2GB
With some query tricking you could get this done.
It would be easier to have all months besides one another and to have the average on top of bottom, but it can be done like:
1) Create a query selecting the details by Year/IndicationFirstLastYearHalf /Month, a dummy Avg field holding "1" and a 01-06 field for the crosstab, based on month - 6 when IndicationFirstLastYearHalf is "Last half".
2) Create a query to calculate the average with the same fields as the above one and have the Year set to Max - 1 and a dummy Avg field holding "0"
3) Create a UNION to JOIN all rows
4) Create the Crosstable query based on the one from step 3 and use the tricked month as the column header and the tricked year as the row header.

Getting the idea ?

Nic;o)
Jan 23 '10 #3
ADezii
8,834 Expert 8TB
That is a rather novel and ingenious approach, Nico. Just for curiosity, have you actually implemented it in some form to test it?
Jan 23 '10 #4
nico5038
3,080 Expert 2GB
Hi ADezii,

The basic "tricks" in this solution I've used multiple times.

In general I try to manipulate as much as possible the special fields in queries to get the final data available for a cross table query.

I'm however rather lazy, so for a test I would require a test database with some data. But as I don't want to spoil the "Eureka" feeling of the questioner, I start in general with some directions. Getting something working is always my greatest satisfaction and I hope for most questioner here too.

Nic;o)
Jan 23 '10 #5

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

Similar topics

5
by: Richard | last post by:
Hi, I have a form that take some time to load due to many comboboxes and at least 8 subforms. When I filter or sort the main form I get an error message and then Access shuts down. They ask if...
2
by: Trevor Hughes | last post by:
Hello All Our organisation has recently upgraded its operating system to Windows 2000. Prior to this I was running Access 2000 databases on NT machines using the Access 2000 Runtime with no...
2
by: edo | last post by:
100 Day Analysis Following is a summary of articles spanning a 100 day period, beginning at 10 Sep 2003 06:41:30 GMT and ending at 19 Dec 2003 04:09:06 GMT. Notes ===== - A line in the...
2
by: Lee | last post by:
As the subject states, I have been playing in the system trying to figure out a method of using a report as the email body text. So far, the closest I have come is the acFormatHTML. However,...
13
by: Krzysztof Bartosiewicz | last post by:
Hi! I have a problem with an access database. The database which I designed and made using MS access works perfectly OK on my computer however it is not working at all on computers for which it...
4
by: jaYPee | last post by:
I have a report created in crystal report. My problem is on how can I remove the decimal point without converting the value. say for example if I have this data: Unit 2 1.5 2 3
9
by: badboybrown | last post by:
Hello, Is it possible to step through the "Create MDE" process and see what is causing Access to crash? I tried, unsuccessfully, many times to create an MDE from my database. But, randomly, I...
3
by: Jason.Forget | last post by:
I have created a 4 Reports using the Reports Wizard in Access 2003 and the text in a memo field is being cut off. This is an inconsistent issue being that it is affecting just one of the reports. ...
6
by: sphinney | last post by:
I'm trying to change the font color of a textbox on a report to red if the date displayed in the textbox is before today. I'm using the following code to accomplish this: Dim Ctrl1 as Textbox...
10
by: Snoopy33 | last post by:
I have a DB that I developed on access XP (2002) and deployed over a year ago. No one has had problems printing any of the reports within the DB until we started loading 2007 on new computers. ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.