This is the problem,
I have a database that is used by sales reps to add orders and produce invoices for customers.
A salesman earns commission on every sale
(This rate is defined in the salesman table)
to work out the total value of the invoice I did a calculated field,
To work out the commission for each salesman, I have a main form which shows all the salesman. A sub form which shows all the invoices
I am trying to reproduce the calculated field i.e. the total value of the invoice, but if I add the tables to do this I get a record for each item on the order, I tried to reference the field form the existing form but because i am using an unbound text box in the sub form, the same value filters down all the records.
not sure how to do this, once I have the total invoice field I can then work out the commission
Any help or pointers would be great thanks
I have a database that is used by sales reps to add orders and produce invoices for customers.
A salesman earns commission on every sale
(This rate is defined in the salesman table)
to work out the total value of the invoice I did a calculated field,
To work out the commission for each salesman, I have a main form which shows all the salesman. A sub form which shows all the invoices
I am trying to reproduce the calculated field i.e. the total value of the invoice, but if I add the tables to do this I get a record for each item on the order, I tried to reference the field form the existing form but because i am using an unbound text box in the sub form, the same value filters down all the records.
not sure how to do this, once I have the total invoice field I can then work out the commission
Any help or pointers would be great thanks