Spikemannen
Instructor
Hi.
I have three tables.
tblCompany
CompanyID (count)
CompanyName (txt)
tblInvoice
ID (count)
CompanyID (related to tblCompany)
InvoiceDate (date)
InvoiceNo (txt)
TimeFrom (date)
Time (number)
tblSupport
ArrendID (count)
CompanyID (related to tblCompany)
Arrive (date)
Area (txt)
Description (pm)
Finished (yes/no)
FinishDate (date)
EstimatedTime (number)
Now I want tblInvoice.Time.Value to show the sum for all tblSupport.EstimatedTime.Value where tblSupport.CompanyID.Value is the same as in tblInvoice.CompanyID.Value and when the finished date is after tblInvoice.TimeFrom.Value.
Is there anyone out there that has an idea how to solve this?
Best Regardz,
Spikemannen
I have three tables.
tblCompany
CompanyID (count)
CompanyName (txt)
tblInvoice
ID (count)
CompanyID (related to tblCompany)
InvoiceDate (date)
InvoiceNo (txt)
TimeFrom (date)
Time (number)
tblSupport
ArrendID (count)
CompanyID (related to tblCompany)
Arrive (date)
Area (txt)
Description (pm)
Finished (yes/no)
FinishDate (date)
EstimatedTime (number)
Now I want tblInvoice.Time.Value to show the sum for all tblSupport.EstimatedTime.Value where tblSupport.CompanyID.Value is the same as in tblInvoice.CompanyID.Value and when the finished date is after tblInvoice.TimeFrom.Value.
Is there anyone out there that has an idea how to solve this?
Best Regardz,
Spikemannen