473,387 Members | 1,597 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,387 software developers and data experts.

Report - Date Grouping

Hi

I have a table of investment history ranging over about 10 years, with
the structure:
Inv_Ref
Inv_Type
Inv_date

I need to produce a report where the data is grouped into columns by
Financial year eg

06/07 07/08
08/09
Inv_Type Inv_Date Inv_Type Inv_Date
Inv_Type Inv_Date
Any ideas how i can go about this?

Thanks for any suggestions.
Paul

Sep 5 '06 #1
1 1115
<pa************@hotmail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...
Hi

I have a table of investment history ranging over about 10 years, with
the structure:
Inv_Ref
Inv_Type
Inv_date

I need to produce a report where the data is grouped into columns by
Financial year eg

06/07 07/08
08/09
Inv_Type Inv_Date Inv_Type Inv_Date
Inv_Type Inv_Date
Any ideas how i can go about this?

Thanks for any suggestions.
Paul
I would create a user function that takes a date input and creates a string
output of the fiscal year (sample below). Then I would create a query that
adds a new field using that function. Then I would create a 2nd query
(crosstab) to group on that new field.

'''''Sample Function (caution, air code)
Public Function Fiscal (Mdate as Date) as String
' Fiscal Year includes 7/1 thru 6/30
If Format(Mdate,'mmdd') <= 0630 then
Fiscal = "FY" & (Year(Mdate))
Else
Fiscal = "FY & (Year(Mdate) + 1)
Endif
End Function

Fred Zuckerman
Sep 5 '06 #2

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

Similar topics

3
by: mark | last post by:
How do I get all fields on one page of a report? I have a report that has a column for each day of the week and 6 records for each day. I need each weekday's records returned on only one detail...
4
by: Brian Coy | last post by:
I have a database that records a part no, a scrap reason, the cost of scrapping that item, and the date. I need to porduce a report that will show up to a weeks worth of data at a time, but I need...
1
by: Brian Coy | last post by:
I am creating a database to track scrap on a daily basis at my plant. I have to provide a weekly scrap report with the amount of each part scrapped per day. I have the basic database set up, and...
1
by: Karen | last post by:
I sorta understand where this approach is supposed to be going, but I can't seem to make it work... The function in the query - ExpectedGroup: ReturnGroup(ExpectedDt) - ExpectedDt here is the name...
3
by: ahaque38 | last post by:
Hello. Using A2K SP3, I am having the following problem with a report using "Sorting and Grouping". I have recently added a grouping in the reports for "Category2<>'CONTRACTS'". I have...
11
by: James P. | last post by:
Hello, I have a report with the Priority field is used as sort order and grouping. The problem is the data in this Priority field if sorted in ascending order is: High, Low, and Medium. How...
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
7
by: manning_news | last post by:
I've got a report that's not sorting correctly. I build a SQL statement and assign it to the recordsource in the Open event, sorting the data the way the user chooses. The user can choose up to 3...
4
by: ian_gendreau | last post by:
I am writing a database for sales forecasting. All of my entries are in a table, each entry has a Projecting Booking Date. I need to write a report with 4 groupings: 0-30 Days Out 31-60 Days...
0
by: mike11d11 | last post by:
I'm try to create a report will group one date field several times based on criteria. First group I'm making is a grouping by Client #, second grouping I need to have it give me a count of the...
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: 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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.