Hi everyone,
In desperate need of help!
)
I have two temp tables, temp_qryTotals and temp_qryTotalsOnService
temp_qryTotals:
sDate
TimeSlot
sCount
eCount
temp_qryTotalsOnService:
sDate
TimeSlot
osCount
What I need to do is if there is a record in temp_qryTotalsOnService, where the sDate and TimeSlot are not in temp_qryTotals, then I need to append the record to temp_qryTotals (osCount = sCount).
How can I achieve this please?
Any ideas, even to get me on track, would be great - I've been working on this for two days and am slowly losing the will to live!

Many thanks in advance
leddy
In desperate need of help!

I have two temp tables, temp_qryTotals and temp_qryTotalsOnService
temp_qryTotals:
sDate
TimeSlot
sCount
eCount
temp_qryTotalsOnService:
sDate
TimeSlot
osCount
What I need to do is if there is a record in temp_qryTotalsOnService, where the sDate and TimeSlot are not in temp_qryTotals, then I need to append the record to temp_qryTotals (osCount = sCount).
How can I achieve this please?
Any ideas, even to get me on track, would be great - I've been working on this for two days and am slowly losing the will to live!


Many thanks in advance
leddy
