homepage Welcome to WebmasterWorld Guest from 54.211.219.178
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
A (propably) simple error...
Could anyone help me?
Gert_Jan




msg:955016
 11:35 am on Jun 3, 2004 (gmt 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

 

mattglet




msg:955017
 11:49 am on Jun 3, 2004 (gmt 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

Gert_Jan




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

Works like a charm!

Thanx

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved