Welcome to WebmasterWorld Guest from 54.167.0.111

Forum Moderators: ocean10000

Message Too Old, No Replies

A (propably) simple error...

Could anyone help me?

     

Gert_Jan

11:35 am on Jun 3, 2004 (gmt 0)

10+ Year Member



ey Guys,

I have the following code:

<%
if Date() => (Recordset1.Fields.Item("mem_end_date").Value) then Response.Redirect "verleng.asp?mem_id="(Recordset1.Fields.Item("mem_id").Value)
%>

It gives this error:

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: "verleng.asp?mem_id="]'
/member/index.asp, line 48

What's the problem?

Thanx

GJ

mattglet

11:49 am on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<%
if Date() => (Recordset1.Fields.Item("mem_end_date").Value) then
Response.Redirect "verleng.asp?mem_id=" & (Recordset1.Fields.Item("mem_id").Value)
end if
%>

-Matt

Gert_Jan

11:51 am on Jun 3, 2004 (gmt 0)

10+ Year Member



Works like a charm!

Thanx

 

Featured Threads

Hot Threads This Week

Hot Threads This Month