This topic is locked

Message after No Records Found

5/21/2004 10:19:59 PM
ASPRunnerPro General questions
B
berga@alpenacc.net author

As my title states, is there any way to put in a message that no records have been found after a search? Thanks.

Sergey Kornilov admin 5/24/2004

Hi,
try to edit ..._list.asp the following way (see my changes in bold):

<%

if rsDetails.eof then

Response.Write "<p align=center>No records found</p>"

else


call WriteTableHeader

call loopRs(rsDetails, CLng(PageSize))

end if

%>

B
berga@alpenacc.net author 5/24/2004

Works great!!! BRILLIANT! Thanks.