I'm having trouble implementing this in an invoice.
Basically, I am trying to select a:
1. Company
2. Contractor
3. Service
And have the rate automatically updated in the invoice_details subform.
The Company and Contractor are located in the invoice form.
The Service, Quantity, and Rate are located in the invoice_details subform.
I've setup another table and form which handles all the rates. It's independant from the invoices table, and contains:
Company, Contractor, Service, Rate
Company, Contractor, and Service all lookup to their respective tables to grab their stuff.
How can I get the rates field in the invoice_details to automatically update based upon the three selections in the combo box, and to display an error message if a rate does not exist?
Thanks.
Basically, I am trying to select a:
1. Company
2. Contractor
3. Service
And have the rate automatically updated in the invoice_details subform.
The Company and Contractor are located in the invoice form.
The Service, Quantity, and Rate are located in the invoice_details subform.
I've setup another table and form which handles all the rates. It's independant from the invoices table, and contains:
Company, Contractor, Service, Rate
Company, Contractor, and Service all lookup to their respective tables to grab their stuff.
How can I get the rates field in the invoice_details to automatically update based upon the three selections in the combo box, and to display an error message if a rate does not exist?
Thanks.