LesWilcock
New member
- Local time
- Today, 12:57
- Joined
- Nov 6, 2008
- Messages
- 2
Dear forum users
In terms of difficulty I don’t expect this to stretch the abilities of the group but hey you have to start somewhere.
I have created a report that lists financial transactions by date. What I would like to do is have them grouped by financial year (1st April to 31st March).
I know how to ‘group by’ a field that is in tables but how do ‘group by’ something that doesn’t exist.
I have a horrible feeling the answer will involve the writing of VBA code but I won’t know till I ask
So in summery my report currently looks like this:
Transaction date
11/04/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/06/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
10/10/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/12/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
04/01/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
12/02/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
11/03/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
03/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
16/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
22/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
30/06/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
I would like it to look like this
Transaction date
2007-2008
11/04/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/06/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
10/10/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/12/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
04/01/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
12/02/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
11/03/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
2008-2009
03/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
16/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
22/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
30/06/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
As ever, all help will be gratefully received
Les W
In terms of difficulty I don’t expect this to stretch the abilities of the group but hey you have to start somewhere.
I have created a report that lists financial transactions by date. What I would like to do is have them grouped by financial year (1st April to 31st March).
I know how to ‘group by’ a field that is in tables but how do ‘group by’ something that doesn’t exist.
I have a horrible feeling the answer will involve the writing of VBA code but I won’t know till I ask
So in summery my report currently looks like this:
Transaction date
11/04/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/06/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
10/10/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/12/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
04/01/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
12/02/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
11/03/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
03/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
16/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
22/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
30/06/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
I would like it to look like this
Transaction date
2007-2008
11/04/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/06/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
10/10/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/12/2007 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
04/01/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
12/02/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
11/03/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
2008-2009
03/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
15/04/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
16/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
22/05/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
30/06/2008 xxxxxxxxxxxxx xxxxxxxxx xxxxxxxxx xx
As ever, all help will be gratefully received
Les W