hullstorage
Registered User.
- Local time
- Today, 14:42
- Joined
- Jul 18, 2007
- Messages
- 213
Hi all,
I will try and make this as brief as I can.
What i am trying to do is get results from certain tables and add the values to another, here goes?
[InvoiceResultFrm] based on InvoiceTbl
InvoiceNo
InvoiceDate
Customer
Net
Vat
Total
[JobTbl]
Customer
Net
Vat
Total
Invoiced Yes/No
[InvoiceTbl]
InvoiceNo
InvoiceDate
Customer
Net
Vat
Total
on the form itself
all the values will be based on values from the jobs table where they equal "no"
I want the form to look up the last invoice number used and add 1
so probably have to use dmax +1 for the invoice number
then i have a drop down field that displays the customers
and then look up the total net value of all jobs that equal invoiced "no"
so will probably have to create a query or something
please see form picture attached
I will try and make this as brief as I can.
What i am trying to do is get results from certain tables and add the values to another, here goes?
[InvoiceResultFrm] based on InvoiceTbl
InvoiceNo
InvoiceDate
Customer
Net
Vat
Total
[JobTbl]
Customer
Net
Vat
Total
Invoiced Yes/No
[InvoiceTbl]
InvoiceNo
InvoiceDate
Customer
Net
Vat
Total
on the form itself
all the values will be based on values from the jobs table where they equal "no"
I want the form to look up the last invoice number used and add 1
so probably have to use dmax +1 for the invoice number
then i have a drop down field that displays the customers
and then look up the total net value of all jobs that equal invoiced "no"
so will probably have to create a query or something
please see form picture attached