D
dcornett63
Happy Friday to you all.
First, I'd like to say thank you to everyone who helps us out on this
discussion board. I have learned a lot from you all (both by posting my own
questions and by reading other people's quesitons).
My question is:
I have a relational database with multiple tables. Is there a way to create
a macro (or maybe a module) that will change the value of a field on one
table based on the data in two different fields on another (linked) table.
Here's what I'm trying to do exactly:
We award jobs to vendors that bid on the work we need done. The vendors will
submit an invoice(s) after the work is done. I have one table that tracks
that Award contract and another that tracks the invoices. The invoice records
are linked by a primary key on the Award table (one to many relationship). On
the Invoice table, I have a boolean check box that is checked if the invoice
is a final invoice for that job. I have another field in which the date that
the invoice is sent to our finance department for payment is entered. On my
Awards table, I have a drop-down box in which the status of the Award is
entered. Options include; Pending, Awarded, Completed, or Canceled. I would
like some way to automate changing the Award Status from Awarded to Completed
on the Awards table when the final invoice checkbox is checked and a date is
entered in the To Finance field on the Invoice table. (Note, all changes are
done by a form)
Can this be done?
Thanks,
David
First, I'd like to say thank you to everyone who helps us out on this
discussion board. I have learned a lot from you all (both by posting my own
questions and by reading other people's quesitons).
My question is:
I have a relational database with multiple tables. Is there a way to create
a macro (or maybe a module) that will change the value of a field on one
table based on the data in two different fields on another (linked) table.
Here's what I'm trying to do exactly:
We award jobs to vendors that bid on the work we need done. The vendors will
submit an invoice(s) after the work is done. I have one table that tracks
that Award contract and another that tracks the invoices. The invoice records
are linked by a primary key on the Award table (one to many relationship). On
the Invoice table, I have a boolean check box that is checked if the invoice
is a final invoice for that job. I have another field in which the date that
the invoice is sent to our finance department for payment is entered. On my
Awards table, I have a drop-down box in which the status of the Award is
entered. Options include; Pending, Awarded, Completed, or Canceled. I would
like some way to automate changing the Award Status from Awarded to Completed
on the Awards table when the final invoice checkbox is checked and a date is
entered in the To Finance field on the Invoice table. (Note, all changes are
done by a form)
Can this be done?
Thanks,
David