G
Guest
hi,
I have the following code with a loop...
....
strSQL = select tbl_list.name INTO tbl_temp FROM tbl_list WHERE
[tbl_list].[name] = '" & rst![facility code] & "DETAILS'"
docmd.runswl strSQLA
msgbox rst3.rcordcount
if rst3.recordcount <> 1 then
....
i noticed that even if the running the strSQLA puts 0 rows in the new table,
the message box stil shows me "1" as the recordcount
how can i get this to refresh?
thanks in advance,
geebee
I have the following code with a loop...
....
strSQL = select tbl_list.name INTO tbl_temp FROM tbl_list WHERE
[tbl_list].[name] = '" & rst![facility code] & "DETAILS'"
docmd.runswl strSQLA
msgbox rst3.rcordcount
if rst3.recordcount <> 1 then
....
i noticed that even if the running the strSQLA puts 0 rows in the new table,
the message box stil shows me "1" as the recordcount
how can i get this to refresh?
thanks in advance,
geebee