Aleks
asked on
asp syntax (Classic ASP VB Script page)
I am redirecting if a recordset is empty using:
<%
If rsCaseEB5.EOF And rsCaseEB5.BOF Then
Response.Redirect("Updatec asedetails EB5.asp?ca seid=<%=(C asesjoin.F ields.Item ("Id").Val ue)%>")
End If
%>
I get this syntax error:
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/bluedot/Intranet/Cases/Ge neralInfo/ Updatecase details.as p, line 112
Response.Redirect("Updatec asedetails EB5.asp?ca seid=<%=(C asesjoin.F ields.Item ("Id").Val ue)
-------------------------- ---------- ---------- ---------- ---------- ---------- --^
What would the correct syntax be ?
<%
If rsCaseEB5.EOF And rsCaseEB5.BOF Then
Response.Redirect("Updatec
End If
%>
I get this syntax error:
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/bluedot/Intranet/Cases/Ge
Response.Redirect("Updatec
--------------------------
What would the correct syntax be ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This worked
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
There
ASKER
<%
If rsCaseEB5.EOF OR rsCaseEB5.BOF Then
Response.Redirect("Updatec
End If
%>
I get this error:
Microsoft VBScript compilation error '800a0409'
Unterminated string constant
/bluedot/Intranet/Cases/Ge
Response.Redirect("Updatec
--------------------------