-
September 8th, 2006, 02:06 AM
#1
Report's Control problem
As, I have shown in my last posted attached file, I have a place for closing balance.
Closing balance would be opening balance - total debit amount + total credit amount for that particular date.
This closing balance would be opening for the next date.
i.e. say user has enter 01/08/2006 and 24/08/2006 in frmTemp in from and to date respectively.
So, in 01/08/2006 opening balance would be from database i.e. table OPBAL.
Its closing would be calculated based as i showed the formula above
Now, according to my report, next date would be 03/08/2006 that comes between above date.
So, the opening for this date would be closing of 01/08/2006.
How to achieve this in data report ?
Last edited by kpj; September 8th, 2006 at 04:11 AM.
-
September 12th, 2006, 05:09 AM
#2
Re: Help with attached project
Possibly the easiest way, but not necessarily the best way would be to create a temporary recordset with the values you want displayed, and then run the data report ove the temporary recordset which now contains the correct values.
HTH
JP
Please remember to rate all postings.
-
September 12th, 2006, 06:30 AM
#3
Re: Help with attached project
Thanks jp140768
I would try using it. I was also thinking to create a temporory table for it and then using it and then deleting that table once a report is generated.
Thanks a lot for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|