Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Database Access / December 2005



Tip: Looking for answers? Try searching our database.

quick response write question from a db

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin - 13 Dec 2005 18:34 GMT
hi,

iis5, Access 2000 db

I am writing some values from one field to a page using response write and a
loop. Here's my code to do the write:

<%
 Response.Write (rstRespond.Fields("eMail").Value & ";")
 rstRespond.MoveNext
 Loop
%>

This is successful, but it is returning the text in a column and I want it
to be one long string with each email addy separated by a semi-colon.

I've tried sticking it in a table cell with the NOWRAP parameter -- doesn't
work. I've tried searching the web a bit via google, but can't really seem
to locate any ideas on how to do it. Is it because it treats each record as
an auto linebreak?

Any suggestions would be appreciated.
Raymond D'Anjou - 13 Dec 2005 18:42 GMT
> hi,
>
[quoted text clipped - 21 lines]
>
> Any suggestions would be appreciated.

Google "getstring"
Here's one hit:
http://www.4guysfromrolla.com/webtech/121598-1.shtml
Kevin - 13 Dec 2005 19:16 GMT
worked ... you da man.

thanks a bundle Raymond

> > hi,
> >
[quoted text clipped - 25 lines]
> Here's one hit:
> http://www.4guysfromrolla.com/webtech/121598-1.shtml
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.