![]() |
Sergey Kornilov admin 11/2/2006 |
Try the following: Sub ListOnLoad() if REQUEST("a")="search" then ' open recordset using strSQL parameter set rstmp = Server.CreateObject("ADODB.Recordset") rstmp.Open strSQL, dbConnection ' fetch the first row and redirect to the appropriate Edit page if not rstmp.eof then response.redirect "GPRS_CarReader_Testing_edit.asp?editid=" & rstmp("CarReaderSerialNum") rstmp.close : set rstmp = nothing end if end if End Sub |
S
|
SteveL author 11/3/2006 |
hi sergey i tried the code below and it still doesnt work. Try the following: |
S
|
SteveL author 11/6/2006 |
hi sergey just giving this issue a bump i tired what you said and it still doesnt work. still goes straight to the list page... any ideas? |
![]() |
Sergey Kornilov admin 11/6/2006 |
Send me your files. There is nothing I can do just looking at this code. |