|
WIryeman -> RE: Hyperlinking FP wit an If Else (5/6/2003 21:29:07)
|
Spooky, After slight modification I got the first one to work, the second one kept bommbing off. Something it didn' t like in the " Else" When I try to run the code 2 or 3 times like below I keeping getting error in the second exectution: " Microsoft VBScript runtime error ' 800a000d' Type mismatch: ' [string: " " ]' /Lakes/lakedetail.asp, line 301 Here is my code... <td width=" 27" height=" 27" > <%If FP_FieldVal(fp_rs," M1" )>= 1 Then response.write " <a href=" " macklake.asp?M1=" &FP_FieldURL(fp_rs," M1" )&" " " >" & FP_FieldVal(fp_rs," M1" )&" </a>" Else response.write " " End If %></td> <td width=" 27" height=" 27" > <%If FP_FieldVal(fp_rs," M2" )>= 1 Then response.write " <a href=" " macklake.asp?M2=" &FP_FieldURL(fp_rs," M2" )&" " " >" & FP_FieldVal(fp_rs," M2" )&" </a>" Else response.write " " End If %></td> <td width=" 27" height=" 27" > <%If FP_FieldVal(fp_rs," M3" )>= 1 Then response.write " <a href=" " macklake.asp?M3=" &FP_FieldURL(fp_rs," M3" )&" " " >" & FP_FieldVal(fp_rs," M3" )&" </a>" Else response.write " " End If %></td> Thanks Ryeman
|
|
|
|