Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 6th, 2007, 07:48 AM
Registered User
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Day balances problems

Happy new year to all
help required on access vba reports
i created access database for my establishmnet.
contaning query DATA.
which as following fields, with data as shown (table to as same fields)
DATE VOUCHERNO CREDIT DEBIT
12/03/2006 3 10
12/03/2006 4 20
12/03/2006 5 40
12/04/2006 6 15
12/04/2006 7 30
12/04/2006 8 50

basing on this query, report should be generated showing Opening and closing balances day wise as shown below

Report
DATE VOUCHERNO CREDIT DEBIT
12/03/2006 OB 50 ------------------> previous day
12/03/2006 3 10 CB
12/03/2006 4 20
12/03/2006 5 40
              CB 40
                            --------------------------
  Day Grp fotter 80 80

12/04/2006 OB 40
12/04/2006 6 15
12/04/2006 7 30
12/04/2006 8 50
12/04/2006 CB 35
                            ---------------------------
  Day Grp 85 85


it runs for the whole month
OB, CB is not entered in table, it should be generated at runtime
OB should be carried forward from previous day CB
OB, CB should be generated while report is been previewed
Experts help is required in this

Thanking all in advance

civa


 
Old January 11th, 2007, 08:36 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You posted on this before, and I have started posting, but the psolution is too long, I think. If you send me a sample database I can work on this offline.

HTH

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
getting the same day of the week. crabjoe Classic ASP Basics 3 February 27th, 2008 12:45 PM
Creation of day Balances civa2006 Access 3 December 30th, 2006 05:46 AM
how to get the day from a given date pherms Classic ASP Basics 2 April 16th, 2004 05:38 PM
day to day use of XML mano XML 1 November 27th, 2003 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.