Hello!

I try to fill my MARQUEE text from one MEMO-record from database. However
the 'spaces' in my db-text are converted to 1-space as soon as i put them as
text in my ASP page..... Must i make a conversion routine converting these
database spaces to ' '? Or is there a simple other way to do all this?

Friendly greetings,

André Groeneveld

Re: Trying to fill MARQUEE from database by McKirahan

McKirahan
Thu May 27 07:56:35 CDT 2004

"Luiza Groeneveld" <la_groeneveld@hotmail.com> wrote in message
news:1Ogtc.34968$gY6.25968@amsnews05.chello.com...
> Hello!
>
> I try to fill my MARQUEE text from one MEMO-record from database. However
> the 'spaces' in my db-text are converted to 1-space as soon as i put them
as
> text in my ASP page..... Must i make a conversion routine converting these
> database spaces to '&nbsp;'? Or is there a simple other way to do all
this?
>
> Friendly greetings,
>
> André Groeneveld

Possible solutions:

1) strTXT = Replace(strTXT," ","&nbsp;")

2) <pre><%=strTXT%></pre>



Re: Trying to fill MARQUEE from database by jcochran

jcochran
Fri May 28 10:59:36 CDT 2004

On Thu, 27 May 2004 07:30:05 GMT, "Luiza Groeneveld"
<la_groeneveld@hotmail.com> wrote:

>Hello!
>
>I try to fill my MARQUEE text from one MEMO-record from database. However
>the 'spaces' in my db-text are converted to 1-space as soon as i put them as
>text in my ASP page..... Must i make a conversion routine converting these
>database spaces to '&nbsp;'? Or is there a simple other way to do all this?

That's the way it's supposed to work. :)

Either use a non-breaking space when data goes to the database, or
better, replace them as data comes out and is sent to display.

Jeff