T
Tom
Hi. I'm new to Access VBA, so I'm erring on the side of too much
information rather than too little in the hopes of receiving a clearer
answer from the community...
I'm working on an Access app designed to track status to contract with
our customer. Contractual requirements take the form of Contract Line
Item Numbers, or "CLINs." Each CLINS table entry includes a
description and total contract quantity for each CLIN. Also included
in the CLINS table is an IS_COMPLETE (Yes/No) field to facilitate
filtering reports elsewhere in the app.
The form in question, tied to a SHIPMENTS table, allows the user to
input individual [partial] shipments against a particular CLIN. Don't
laugh, but currently the user must input a delivery, then run a
DELIVERIES_TO_CONTRACT report to see if the balance outstanding is now
zero for the parent CLIN, then go back into the CLINS table and update
the checkbox for IS_COMPLETE.
I'm looking for the best way(s) to automatically calculate if the
current QTY_SHIPPED, when added to all prior shipments for that CLIN,
completes the CLIN quantity. If so, I'd like to update the
IS_COMPLETE Yes/No field in the CLINS table to Yes.
The shipment entry form quantity shipped field is txtQTY_DELIVERED.
What's the best way to make this happen?
Thanks!
information rather than too little in the hopes of receiving a clearer
answer from the community...
I'm working on an Access app designed to track status to contract with
our customer. Contractual requirements take the form of Contract Line
Item Numbers, or "CLINs." Each CLINS table entry includes a
description and total contract quantity for each CLIN. Also included
in the CLINS table is an IS_COMPLETE (Yes/No) field to facilitate
filtering reports elsewhere in the app.
The form in question, tied to a SHIPMENTS table, allows the user to
input individual [partial] shipments against a particular CLIN. Don't
laugh, but currently the user must input a delivery, then run a
DELIVERIES_TO_CONTRACT report to see if the balance outstanding is now
zero for the parent CLIN, then go back into the CLINS table and update
the checkbox for IS_COMPLETE.
I'm looking for the best way(s) to automatically calculate if the
current QTY_SHIPPED, when added to all prior shipments for that CLIN,
completes the CLIN quantity. If so, I'd like to update the
IS_COMPLETE Yes/No field in the CLINS table to Yes.
The shipment entry form quantity shipped field is txtQTY_DELIVERED.
What's the best way to make this happen?
Thanks!