How to expand current DB (1 Viewer)

jimd1768

jimd1768
Local time
Today, 09:38
Joined
May 8, 2007
Messages
63
I have a database for a dance school that holds all customer info.

I would like to try and add to this a payments section. Each person is billed £20 per month and what I would like to do is have £20 added to each persons bill at the beginning of each month and somewhere where I can enter payments made that will deduct from there balance.

I am really hoping that someone can guide to somewhere where I can start this. Any help or advice would be greatly appreciated.

Thank you
 

isladogs

MVP / VIP
Local time
Today, 09:38
Joined
Jan 14, 2017
Messages
18,216
Add a new table tblPayments with fields & datatypes similar to this:

PaymentID (PK - autonumber)
CustomerID (FK - same as PK field in Customers table)
PaymentDate (DateTime)
PaymentAmount (Currency)
PaymentType (Text)
StaffInitials (Text) - optional
Notes (long text / memo) - optional

This table can handle payments in & 'out' (amounts due).
One of these types needs to be assigned as a negative amount
The balance is the sum of all payments

At the start of each month, run an append query to add a new payment record for £20 for each customer

Use a form (frmPayments) to handle all payments made

The purpose of the two optional fields is:
a) StaffInitials - person who enters details of payments made
b) Notes - used for additional comments as needed - using long text / memo allow users to enter several thousand characters if needed
 

Ranman256

Well-known member
Local time
Today, 04:38
Joined
Apr 9, 2015
Messages
4,337
i have this EXACT db. Dance school.
What you need is an append query to add 20 to the tCharges table. This appends to all Active customers. Hopefully you have these tables:
tCustomers
(and the following children of tCustomers)
tCharges
tBilling
 

Users who are viewing this thread

Top Bottom