After my last plea for help, hopefully ill get another helpful comment.
I have a table called work which contains the fields "FM Reference", "Designer" and "Hours Worked". What I am needing is a query that will overwrite an existing record if the FM Ref and Designer equal that supplied and overwrite it with the new Hours Worked. If no record exists create a new one with the supplied data.
Pseudo-code:
if record exists with FMRef = newFMRef and Designer = newDesigner then
Hours Worked = newHours Worked
else
create new record with newFMRef, newDesigner, newHours Worked
hopefully you can understand this and be of some assistance
Thanks very much,
Mike Coats
I have a table called work which contains the fields "FM Reference", "Designer" and "Hours Worked". What I am needing is a query that will overwrite an existing record if the FM Ref and Designer equal that supplied and overwrite it with the new Hours Worked. If no record exists create a new one with the supplied data.
Pseudo-code:
if record exists with FMRef = newFMRef and Designer = newDesigner then
Hours Worked = newHours Worked
else
create new record with newFMRef, newDesigner, newHours Worked
hopefully you can understand this and be of some assistance
Thanks very much,
Mike Coats