S
Sarah
I use a query to collate sales invoices for each customer each month in order
to produce statements for them to pay on. So for example, if a customer had
2 invoices in the month, one for 100 and one for 50, the statement would tell
them they have 150 to pay. The query uses a form to collect the parameters to
select a customer, month and year, and produces the information on a report.
When the customer pays, I would like to be able to use an update query to
select the same invoices that were on the customer's statement, and update
fields to show "Date_paid", "cheque_number" and "amount_paid" for each
invoice. The 2 issues are:
1. Can I use a macro or command on the original parameter query form to
input the update criteria, ie. the "Date_paid" etc?
2. Although some of the update criteria will be the same for all invoices
on the statement ie. the "Date_paid" and the "cheque_number", the other
update criteria ("amount_paid) will be different for each invoice, and I
wonder whether I can somehow update the "amount_paid" by copying the orginal
"invoice_amount" field?
Any suggestions would be gratefully received - I have spent so long trying
different things and not getting anywhere! Thanks. sarah
to produce statements for them to pay on. So for example, if a customer had
2 invoices in the month, one for 100 and one for 50, the statement would tell
them they have 150 to pay. The query uses a form to collect the parameters to
select a customer, month and year, and produces the information on a report.
When the customer pays, I would like to be able to use an update query to
select the same invoices that were on the customer's statement, and update
fields to show "Date_paid", "cheque_number" and "amount_paid" for each
invoice. The 2 issues are:
1. Can I use a macro or command on the original parameter query form to
input the update criteria, ie. the "Date_paid" etc?
2. Although some of the update criteria will be the same for all invoices
on the statement ie. the "Date_paid" and the "cheque_number", the other
update criteria ("amount_paid) will be different for each invoice, and I
wonder whether I can somehow update the "amount_paid" by copying the orginal
"invoice_amount" field?
Any suggestions would be gratefully received - I have spent so long trying
different things and not getting anywhere! Thanks. sarah