Hi,
I have this query
inv date value balance
1 05/12/04 £25.00 £25.00
2 05/12/04 -£20.00 £5.00
3 06/12/04 £10.50 £15.50
4 06/12/04 £8.00 £23.50
5 06/12/04 -3.00 £20.50
6 07/12/04 £40.00 £60.50
7 08/12/04 £2.00 £62.50
The user runs a report and enters a start and end date, I would like to put the opening balance in the header and closing balance in the footer of the report, I can draw both bits of info from the balance field but I'm not sure how to tell a bound textbox that it must display the last record in the query (for closing balance) and even worse the record BEFORE the first record for the opening balance, because the balance brought forward should be the closing balance on the day before the period starts.
Any help much appreciated.
Thanks, Mark.
I have this query
inv date value balance
1 05/12/04 £25.00 £25.00
2 05/12/04 -£20.00 £5.00
3 06/12/04 £10.50 £15.50
4 06/12/04 £8.00 £23.50
5 06/12/04 -3.00 £20.50
6 07/12/04 £40.00 £60.50
7 08/12/04 £2.00 £62.50
The user runs a report and enters a start and end date, I would like to put the opening balance in the header and closing balance in the footer of the report, I can draw both bits of info from the balance field but I'm not sure how to tell a bound textbox that it must display the last record in the query (for closing balance) and even worse the record BEFORE the first record for the opening balance, because the balance brought forward should be the closing balance on the day before the period starts.
Any help much appreciated.
Thanks, Mark.