Welcome to WebmasterWorld Guest from 50.19.190.144

Forum Moderators: ocean10000

Message Too Old, No Replies

A (propably) simple error...

Could anyone help me?

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

Junior Member

10+ Year Member

joined:Oct 9, 2003
posts:96
votes: 0


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

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 12, 2002
posts:1482
votes: 0


<%
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

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

Junior Member

10+ Year Member

joined:Oct 9, 2003
posts:96
votes: 0


Works like a charm!

Thanx