I assume you are doing something like this;

<input type=hidden name=MyString value=<%=rs("myfield")%>>

If so you need the value to be in quotes

<input type=hidden name=MyString value="<%=rs("myfield")%>">

-----Original Message-----
From: jesper_vinther [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2004 2:52
To: [EMAIL PROTECTED]
Subject: [ASP] reading strings from access db


Dear All,

Having some problem read strings form a access db. The string 
consists of several words devided by spaces. Only the first word is 
put into my asp/vb-script variable, e.g if "my string" is the string 
in the db and the asp code contains 'str = rs("myfield")' str only 
holds "my".

Can anybody help!!!

Jesper





---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links



 


The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential.  If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message.  Any
representations or commitments expressed in this email are subject to contract. 
 
ntl Group Limited



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

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

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