Query Calculation

Haytham

Registered User.
Local time
Today, 12:32
Joined
Jun 27, 2001
Messages
162
Hi All...
I have a table with BillNo and amount. Another table for Payment Vouchers. Both linked by BillNo.
In a query, I have Voucher Table Sum the amount.
So if payment is in two different days, customer will have 2 vouchers etc.
The query will calculate the difference betwen the Bill Amount and Sum of Payment to find the Balance which the customer is to pay. This query is tabular, and got everything perfect.
Now, in a new column in query, I want to put the Voucher No which the customer paid. Is it possible to do it...
By other way I can say that:
A Query calculates a difference between Bill Amount and Sum of Voucher Receipts. Is't possible to get the No of the Receipts in a new columns in a query.....
 
Hi Pat Hartman,
Indeed I'm very thankful for you. I applied in my db and it works like a dream.
:D :D :D
 
Glad it worked. I just noticed your location field. I spent a year working not too far away in Kuwait some years ago. I was part of a team that developed a human resources system for the civil service commission.
 
Kuwait is very near... Hope and welcome to visit us anytime.:D
 

Users who are viewing this thread

Back
Top Bottom