BOF or EOF
Posted on 2006-11-03
I have a small problem and would be grateful for some help.
<% If cint(Recblockblockunblockif_else.Fields.Item("worker_uid").Value) = cint(Session("pt_login_id"))
AND cint(Recblockblockunblockif_else.Fields.Item("blocker_id").Value) = cint(RecmostofDuser.Fields.Item("id_usr").Value) Then %>
<h1>free and open</h1><% Else %>this user is blocked <% End If %>
The above works if Recblockblockunblockif_else is not empty, but when it is empty I get a Either BOF or EOF is True error, what can I do to it to work if there is no record.
regards and thanks for any help