Welcome to WebmasterWorld Guest from 54.198.93.179

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)

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

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

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