N
Nathan D Clark
Brief Summary: I want to be able to make a Payment Amount on a form to a Bill
Amount, then the Bill Amount will reduct to show an Ending Balance on the
Form.
Details:
I have a table called BusinessContacts with ContactID as the Primary ID
Field. This table is dedicated to storing data on each Bill (Name, Address
etc.)
On the Business Form which is based on the BusinessContacts table, I have a
Payment Button this opens another form. The second form is called Bill
Payment, and it is based on a table called BillPayment with a Primary ID
Field named BillPaymentID. This form is used to make a payment to the Total
Starting Balance of the Bill which is linked to ContactID on BusinessContacts
table.
Diagram of Setup:
BillPayment: Table -----------------+BusinessContacts: Table
ContactID (TextField)---------------+ContactID (PrimaryID, AutoNumber)
BillPaymentID (PrimaryID)
DateOfPayment
StartingBalance
PaymentAmt
EndingBalance
I created a Query to total all the PaymentAmt named TotalOfAllPaymentsAmt
which does product a Sum of the PaymentAmt column of BillPayment Table.
I am unsure where to go from here. I need to display the balance on the
Business form after making a payment to the total bill.
Amount, then the Bill Amount will reduct to show an Ending Balance on the
Form.
Details:
I have a table called BusinessContacts with ContactID as the Primary ID
Field. This table is dedicated to storing data on each Bill (Name, Address
etc.)
On the Business Form which is based on the BusinessContacts table, I have a
Payment Button this opens another form. The second form is called Bill
Payment, and it is based on a table called BillPayment with a Primary ID
Field named BillPaymentID. This form is used to make a payment to the Total
Starting Balance of the Bill which is linked to ContactID on BusinessContacts
table.
Diagram of Setup:
BillPayment: Table -----------------+BusinessContacts: Table
ContactID (TextField)---------------+ContactID (PrimaryID, AutoNumber)
BillPaymentID (PrimaryID)
DateOfPayment
StartingBalance
PaymentAmt
EndingBalance
I created a Query to total all the PaymentAmt named TotalOfAllPaymentsAmt
which does product a Sum of the PaymentAmt column of BillPayment Table.
I am unsure where to go from here. I need to display the balance on the
Business form after making a payment to the total bill.