G
Guest
Hi,
I'm still relatively new working with Access and on top of that I've
inherited the managment of someone else's database. I am trying to generate a
report for invoices for a contract. We have several contracts, each with a
unique contract number (contract) and each contract receives several invoices
(invoice num). Each invoice has costs assigned to different concepts, i.e.
admin costs, labor, etc, which are identified by codes (costcode). There
are several cost codes per invoice, and several invoices per contract. The
problem is: when I receive a new invoice I want to print out a report which
shows both the total invoiced for the contact as well as the cost code
details. The total for the contract has to read all of the invoices, but the
cost code should be exclusive to the current invoice which appears in the
invoice form. I can't seem to understand how to place a limit on the invoice
number field ([invoice num = [Forms]![Form Invoices General]![invoice num) so
I can display the cost code information, and then remove thhis filter in the
footer of the report so that it shows the sum of all invoices in the
contract. I am tempted to use a sub-report, but I would rather not if its
not necessary. Can anyone give me some advice? Thanks for the help., Thomas
I'm still relatively new working with Access and on top of that I've
inherited the managment of someone else's database. I am trying to generate a
report for invoices for a contract. We have several contracts, each with a
unique contract number (contract) and each contract receives several invoices
(invoice num). Each invoice has costs assigned to different concepts, i.e.
admin costs, labor, etc, which are identified by codes (costcode). There
are several cost codes per invoice, and several invoices per contract. The
problem is: when I receive a new invoice I want to print out a report which
shows both the total invoiced for the contact as well as the cost code
details. The total for the contract has to read all of the invoices, but the
cost code should be exclusive to the current invoice which appears in the
invoice form. I can't seem to understand how to place a limit on the invoice
number field ([invoice num = [Forms]![Form Invoices General]![invoice num) so
I can display the cost code information, and then remove thhis filter in the
footer of the report so that it shows the sum of all invoices in the
contract. I am tempted to use a sub-report, but I would rather not if its
not necessary. Can anyone give me some advice? Thanks for the help., Thomas