<%
dim strTemp
strTemp=replace(eventlist("ItemDesc"),Chr(13),"<br>")
response.write (strTemp)
%>

Replace is probably better off assigned to a variable rather than
attempted to be used "in place".

On Thu, 17 Feb 2005 20:42:54 -0000, PatelAshish <[EMAIL PROTECTED]> wrote:
>  
>  
>  Hello,
>  
>  I am getting an error on the using "Replace". When I use the 
>  statement the following error code comes.
>  
>  Technical Information (for support personnel)
>  
>  Error Type:
>  Microsoft VBScript compilation (0x800A0414)
>  Cannot use parentheses when calling a Sub
>  /applications/myEvents/events.asp, line 310, column 81
>  
>  ====================================================================
>  This the code I have on the line 310, column 81
>  
>  <%=replace(eventlist.Fields.Item("ItemDesc").Value),Chr(13),"<br>"%>
>  
>  If you have any other ways of using the "REPLACE" statement please 
>  help me.
>  ====================================================================
>  
>  Thank you,
>  
>  
>  
>  
>  
>  
>  
>  
>  Yahoo! Groups Sponsor 
>  
> ADVERTISEMENT
>  
>  
>  ________________________________
>  Yahoo! Groups Links
>  
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to