473,396 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Roll Over Students Balance from current to New Month

Hi Bytes Community,


From experience in using a property Management package, invoices were sent to Tenants last week of every month.

Receipts are captured from 21st of the current month to the 20th of the next month.

After Accounts recons, receipts capture is closed, the system updates all tenants accounts and rolls over the Closing Balances of the current month to the new month as the Opening Balance.

QUESTION:
I have a database with the following details:

1) A table -Invoice(with primary key InvoiceID) has a many to many relationship with table -Payments(with primary key PaymentID).

2) There is a Junction table -(Payment Details) which relates Invoice table and Payments table.

Invoice and receipt details of Students are entered into the junction table for the purpose of invoicing students monthly.

3) If an invoice amount of 110 Dollars is issued on 1st January 2017 to a student and payment of 90 Dollars is paid, there will be a balance of 20 Dollars on the January invoice.


How do you Roll Over a Student's Balance of 20 Dollars from the January invoice to the next invoice (February) as the Opening Balance for February in a report?

Or what Vba code is required to roll over the balance from January to February in a report?
Jul 28 '17 #1
0 1355

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Gary | last post by:
How do you get the current month - 1 month? (so not a particular day, but the whole month) Thanks, Gary
1
by: Ben | last post by:
Hi I am currently building a database in Access 97 and have a (quite easy) question. I want to produce a query / report that will bring out all the people in the database that have a birthday...
4
by: stevebuy | last post by:
Hi, I hope I'm posting this in the right forum. I'm using a calendar control in a detailsview template (aspnet 2.0). Its bound to data but in the edit view it always displays the current month,...
3
by: JC21 | last post by:
Hello all, I have a question on MS calendar. On one of my forms in my DB I have the MS calendar. My question is how do I set the calendar so that the current month is always displayed. Currently...
5
by: soni2926 | last post by:
Hi, I have a web application, asp.net and c# done in 2.0, which is going to return rows from the db with dates or certain events. The db is going to have events dates for the entire year, but on...
0
by: remya1000 | last post by:
I need to display current month,last 3months,6months and 1year records seperatly. and first i'm tring to display current month's records. and the error i received is this. Microsoft VBScript...
3
by: Johan Mcgillicutty | last post by:
Could use some help on this one- I’m new to MS Access, and even newer to SQL. I’m building a database for clients of a treatment center, and need to keep track of when people are due for their...
1
jamesd0142
by: jamesd0142 | last post by:
New here, need to store the current month in a variable? How can this be done? -------------------------------------------------------------------- Or if anyone can... i want to get the...
6
by: abhishekbrave | last post by:
i have created following drop down box for displaying year... i want to populate the drop down box upto current year.. and need to write a java script for this .. any pointers in this regard will be...
2
by: sskofid11 | last post by:
(I'm a C# rookie) I want the same code to work, irrespective of what month we are in. I know the code for a specific month (DateTime.DaysInMonth(int year, int month)) but what I am looking for is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.