--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
"hisham" <his...@discussions.microsoft.com> wrote in message
news:08D9CC24-9817-4CF9...@microsoft.com...
Logic of what you are doing is suspect.
-- You are assuming that table1 and table2 have the same number of records
-- You are assuming that your queries will return those records in the same
order. Unless you impose as order that is going to be true only by
coincidence. - sometimes it will work and other times it will fail
-- You are updating rst for no reason as you are not changing anything in
rst.
-- You seem to be trying to store two types of data - numbers and text in
the Result field. So either you need to force the number value to a string
or you need to store the result in two fields or you need to have an
additional field for Ok/Not Ok
It seems to me that you should be able to do all this in a query and do it
much more efficiently.
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
"hisham" <his...@discussions.microsoft.com> wrote in message
news:08D9CC24-9817-4CF9...@microsoft.com...