Hi,
I’m using Access from XP Office Pro running under Windows 7.
Background -------------------------------------------
I’m trying to implement a simple check book tracking report (like that
little book that goes in a personal check book).
The check book report can be run for:
1. All months
2. Multiple months
3. Single month
A pop-up form will appear before the user runs the report asking the user
for which months they want the report.
When the report runs, it needs to calculate the beginning balance by simply
adding up all of the transactions prior to the beginning of the specified
month. Then the report needs to print the checks and deposit for the
specified time period. And then it needs to print the total.
My table name is tblChecks. I have one entry for each check that was issues
and one entry for each deposit that was made. There is an entry in the check
table with a check number of zero, a check date of 12-31-09, and a check
amount of the account balance as of 12-31-2009.
Database ---------------------------------------------------
My table tblChecks has the following fields:
TransID - Automatic assigned number by access
TransTypeId - Either check, deposit, bank charge, or adjustment
CheckNo - The number of the check if the transaction is a check. If the
transaction is a deposit, bank charge, or adjustment this field contains a
sequential number assigned by my software. The number assigned starts at
1000000.
Trans Date - Date of the check or deposit.
Trans Amount – The amount of the check, deposit, bank charge, or adjustment.
Question -----------------------------------------------
How do I compute the beginning balance and then show that beginning balance
on the report a single line and then print all subsequent transactions in
detail?
Also, please remember that the beginning balance time period is variable
depending upon what beginning and ending dates the user enters.
Thank you for your assistance.
--
Dennis
|
|
0
|
|
|
|
Reply
|
Utf
|
5/22/2010 4:36:01 AM |
|
You should be able to create a query returning a single record of the
beginning balance based on all transactions prior to the beginning date. Use
this query with your tblChecks in a union query where you filter the
tblChecks for dates between the beginning and ending dates.
--
Duane Hookom
Microsoft Access MVP
"Dennis" wrote:
> Hi,
>
> I’m using Access from XP Office Pro running under Windows 7.
>
> Background -------------------------------------------
>
> I’m trying to implement a simple check book tracking report (like that
> little book that goes in a personal check book).
>
> The check book report can be run for:
> 1. All months
> 2. Multiple months
> 3. Single month
>
> A pop-up form will appear before the user runs the report asking the user
> for which months they want the report.
>
> When the report runs, it needs to calculate the beginning balance by simply
> adding up all of the transactions prior to the beginning of the specified
> month. Then the report needs to print the checks and deposit for the
> specified time period. And then it needs to print the total.
>
> My table name is tblChecks. I have one entry for each check that was issues
> and one entry for each deposit that was made. There is an entry in the check
> table with a check number of zero, a check date of 12-31-09, and a check
> amount of the account balance as of 12-31-2009.
>
> Database ---------------------------------------------------
>
>
> My table tblChecks has the following fields:
>
> TransID - Automatic assigned number by access
> TransTypeId - Either check, deposit, bank charge, or adjustment
> CheckNo - The number of the check if the transaction is a check. If the
> transaction is a deposit, bank charge, or adjustment this field contains a
> sequential number assigned by my software. The number assigned starts at
> 1000000.
> Trans Date - Date of the check or deposit.
> Trans Amount – The amount of the check, deposit, bank charge, or adjustment.
>
>
> Question -----------------------------------------------
>
> How do I compute the beginning balance and then show that beginning balance
> on the report a single line and then print all subsequent transactions in
> detail?
>
> Also, please remember that the beginning balance time period is variable
> depending upon what beginning and ending dates the user enters.
>
> Thank you for your assistance.
>
>
>
>
> --
> Dennis
|
|
0
|
|
|
|
Reply
|
Utf
|
5/22/2010 5:13:01 PM
|
|
Duane,
Cool. I've never used Union queries before (guess that is why I asked the
question). I'll do a little reading and give it a try.
Thanks,
--
Dennis
|
|
0
|
|
|
|
Reply
|
Utf
|
5/22/2010 9:28:01 PM
|
|
You might want to start with SQL like:
SELECT TransID, TransTypeId, CheckNo, [Trans Date], [Trans Amount]
FROM tblChecks
WHERE [Trans Date} Between Forms!frmDates!txtStartDate AND
Forms!frmDates!txtEndDate
UNION
SELECT -1 , Null, Null , Null , Sum([Trans Amount]) As Amt
FROM tblChecks
WHERE [Trans Date}< Forms!frmDates!txtStartDate
This makes some assumptions regarding your form and control names.
--
Duane Hookom
Microsoft Access MVP
NOTE: These public News Groups are ending June 1st. Consider asking
questions at http://social.answers.microsoft.com/Forums/en-US/addbuz/threads?
"Dennis" wrote:
> Duane,
>
> Cool. I've never used Union queries before (guess that is why I asked the
> question). I'll do a little reading and give it a try.
>
>
> Thanks,
>
>
> --
> Dennis
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
5/22/2010 10:58:01 PM
|
|
|
3 Replies
356 Views
(page loaded in 0.048 seconds)
Similiar Articles: Calculate beginning balance, but print details on report ...Hi, I’m using Access from XP Office Pro running under Windows 7. Background ----- I’m trying to impleme... Detail Historical Aged Trial Balance report - microsoft.public ...Hello, I assume that you have Ageing for 91-20 and 121 Day etc in your setup. Print Report-->Clicked on Modified , For Detail Historical Aged Trial Balance report ... Cross reference report doesn't tie to G/L detail trial balance ...Cross reference report doesn't tie to G/L detail trial balance ... Doesn't Tie To ... print the G/L detailed trial balance and the payables distribution history report ... running difference between adjacent records in report - microsoft ...I need to calculate the difference between the end of process 1 and the beginning of process 2 in an Access 2003 report. ... In the Print event procedure of the Detail ... microsoft.public.greatplains - page 11This is page 11 of the microsoft.public.greatplains group which contains 2166 articles. Reports Dictionary - microsoft.public.greatplainsKey segment not found, when printing Trial Balance - microsoft ... Have ... Cross reference report doesn't tie to G/L detail trial balance ... Reports Dictionary - microsoft ... Issue creating a report from criteria - microsoft.public.access ...... that I have unbound fields to choose a beginning and ending date to get a report to print ... into the WhereCondition string. >> >> More details: >> Limiting a Report ... restrict access to GL accounts - microsoft.public.greatplains ...To review the Chart of Accounts ... • General Ledger • Transaction Detail by ... Printing MULTIPLE Invoices - microsoft.public.access Printing MULTIPLE ... Each record ... Conditional SubReports - Case statement to print one of two ...I have a Report that has the following SubReports in the Detail section ... upgraded from 1.2 to 3.0 ... beginning and ending date to get a report to print ... Sum of every page in a report - microsoft.public.access ...I have a multi page report which includes a field to calculate the [Qty ... footer for =sum([name of your details ... fifth one. ... to hide when printing. Sum ... Report ... Calculate beginning balance, but print details on report DataBaseHi, Im using Access from XP Office Pro running under Windows 7. Background ----- Im trying to implement a simple Calculate beginning balance, but print details on report ...Hi, I’m using Access from XP Office Pro running under Windows 7. Background ----- I’m trying to impleme... Calculate beginning balance, but print details on reportHi, I’m using Access from XP Office Pro running under Windows 7. Background ----- I’m trying to implement a How to Balance Accounts Payable in Microsoft Dynamics | eHow.comPrint the Trial Balance--Summary report in the Reports ... Review the details of the exported report to find the ... the exported report, make sure the total PM beginning balance ... How can I print a general ledger report of one account that will ...how can i print a general ledger report of one account that will include the beginning balance? I created a report at the custom transaction detail report and ... 7/21/2012 2:10:32 AM
|