q1w2e3r4t7
Active member
- Joined
- Nov 15, 2005
- Messages
- 30
I have an accounting table with enties with date, account & value.
ie:
Date Account Value
1/01/07 Petrol $500
2/01/07 Wages $400
1/02/07 Food $30
2/02/07 Wages $400
15/02/07 Food $20
i would like to create a view sorted by Account & Date (in months)
ie
Account Jan-07 Feb-07
Petrol $500 $0
Wages $400 $400
Food $0 $50
is this possible?
i know i can get dates into months by using dateserial(year(date),month(date),1) however i cant workout how to sort by date & account.
Any help would be greatly appreciated.
Thanks.
ie:
Date Account Value
1/01/07 Petrol $500
2/01/07 Wages $400
1/02/07 Food $30
2/02/07 Wages $400
15/02/07 Food $20
i would like to create a view sorted by Account & Date (in months)
ie
Account Jan-07 Feb-07
Petrol $500 $0
Wages $400 $400
Food $0 $50
is this possible?
i know i can get dates into months by using dateserial(year(date),month(date),1) however i cant workout how to sort by date & account.
Any help would be greatly appreciated.
Thanks.