Hello,
I have an asp page that loads dynamic data from one of my servers. In the morning when there is no data in the file when I call my asp page I get the following error
line 25 is the rs.Movefirst
I tried to enter is null and = 0
on line 23 before the rs.Movefirst
but that did not work
how could I redirect to a new page if there is no data
I have an asp page that loads dynamic data from one of my servers. In the morning when there is no data in the file when I call my asp page I get the following error
Code:
Error Type:
ADODB.Recordset (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
recap.asp, line 25
I tried to enter is null and = 0
Code:
if dddpva is null then response.Redirect("[URL unfurl="true"]http://http://myserver/data/myredirect.asp")[/URL]
but that did not work
how could I redirect to a new page if there is no data