A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Make Payment and Deduct from Bill



 
 
Thread Tools Display Modes
  #1  
Old March 6th, 2010, 06:08 PM posted to microsoft.public.access
Nathan D Clark
external usenet poster
 
Posts: 6
Default Make Payment and Deduct from Bill

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.


  #2  
Old March 6th, 2010, 08:50 PM posted to microsoft.public.access
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Make Payment and Deduct from Bill

On Sat, 6 Mar 2010 10:08:05 -0800, Nathan D Clark
wrote:

Hi Nathan,
You seem a bit lost. This data structure is not going to work for
several reasons. Discussing the finer points of accounting tables is
more than we can do in a newsgroup post.
I have a suggestion: do yourself a favor and pick up this book:
http://www.wiley.com/WileyCDA/WileyT...470525746.html
(I am not associated with it, but I know several of the authors)
This book has several chapters that should be right up your alley.

-Tom.
Microsoft Access MVP


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.

  #3  
Old March 6th, 2010, 08:57 PM posted to microsoft.public.access
KenSheridan via AccessMonster.com
external usenet poster
 
Posts: 1,610
Default Make Payment and Deduct from Bill

I think you'll need another table for this. I'd envisage something along the
following lines:

BusinessContacts
.….ContactID (primary key)
…..FirstName
…..LastName
…..etc

Bills
….BillID (primary key)
….DateOfBill
….BillAmt
….ContactID

BillPayments
….BillPaymentID (primary key)
….BillID
….DateOfPayment
….PaymentAmt

With a form based on BusinessContacts, and within it a subform based on Bills,
linked on ContactID, you can then include a control in the subform to show
the current outstanding balance per bill, with a ControlSource of:

=BillAmt - DSum("PaymentAmt", "BillPayments", "BillID = " & [BillID])

Ken Sheridan
Stafford, England

Nathan D Clark wrote:
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.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/201003/1

  #4  
Old March 17th, 2010, 01:43 PM posted to microsoft.public.access
joelgeraldine
external usenet poster
 
Posts: 201
Default Make Payment and Deduct from Bill

gfgfng ,j

"Nathan D Clark" a écrit dans le
message de groupe de discussion :
...
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.