Hi Tim,
so what is in in_process field actually? null or something else?
if null - then
CurrentDb.Execute "DELETE * from tbl_msw_temp where in_process is
null",dbFailOnError
should work

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
> Hi Alex
>
[quoted text clipped - 4 lines]
>
> Tim
Tim Crowley - 13 May 2005 21:16 GMT
Hi Alex, me again
The syntax of my code is exactly as you had previously suggested.
CurrentDb.Execute "DELETE * from tbl_msw_temp where in_process is null",
dbFailOnError
The in_process field just has a text "x" inserted while I'm processing the
transaction. When the truck weighs out on the outgoing scale I change the
in_process field to blank (ie. " ") to mark for deletion. Pretty simple
delete coding I would think but unfortunately this is one of those day's
when my computer hates me.
TMC
Alex Dybenko - 14 May 2005 06:21 GMT
Hi Tim,
if you update it to " " - then you have also to filter by:
in_process = " "
so check how you update field and make corresponding filter

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
> Hi Alex, me again
>
[quoted text clipped - 10 lines]
>
> TMC