Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 9th, 2007, 11:23 PM
Authorized User
 
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried the display function for the textarea

fired it with
value"=<%DisplayRMemo(trim(=rs.fields("comments")( 5)))%>"
Doesn't like the equal sign. Can I call rs.fields here?

 
Old January 9th, 2007, 11:32 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

There was no = sign in that position in my example.

FYI: The = sign is short hand for response.write

Change:
value"=<%
To:
value="<%=
And get rid of the = sign before the rs.fields

BTW - Dont place the text you want shown in a value parameter within a <textarea> tag (other form type elements yes but not a textarea). Use it like:
<textarea name="info"><%= DisplayRMemo(trim(getInfo(1))) %></textarea>

NOTE: I do not use the .fileds collection myself. I populate a recordset and assign it to the getInfo variable



Wind is your friend
Matt
 
Old January 9th, 2007, 11:49 PM
Authorized User
 
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Matt....your the best! Everything working perfectly!
I tried all damn day to get that stuff to work.
Good night and thanks for all your help. Learned a lot!

 
Old January 9th, 2007, 11:56 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

no worries, happy to help...

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
ReadProcessMemory returns nothing evolution445 Visual Basic 2005 Basics 17 October 8th, 2008 07:56 AM
for-each carriage returns TiLaser XSLT 4 April 28th, 2008 07:31 PM
Not all code returns a value Doom C# 4 February 11th, 2008 03:48 PM
using() in a method that returns.... belphoebes_friend General .NET 1 April 12th, 2007 04:41 PM
Remove Hard Returns from Memo Field darinsee Classic ASP Databases 4 July 7th, 2004 04:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.