line breaks from access PM field??

T

Ted Ljong

Hi

I have posted this to the access newsgroup without success maybe someone
here can help me.
On my site I use a accessdb for a memberreg. In one table I have a PM-field.

The problem is that when I present the db with the PM field on the web (or
maybe it´s called emofield) all the text is without the line breaks. Is it
possible to present the dbresult with the line breaks?

I appreciate your answer
Ted Ljong
 
T

Ted Ljong

Thanks Kathleen
But I still have the problem. Maybe it´s because of the fact that i´m
writing and saving the pm text from the web, So I belive there are no
linebreaks even in the db, my question was a little bit wrong it should have
been (I think) How do I save the formtext with line breaks to the db?

When I have the linebreaks in the db I probably ca use the line on the page
you gave me.

Do you have any idea how to solve this?

Ted Ljong
 
T

Thomas A. Rowe

Ted,

You must have returns in the data that you are submitting to the database.
However when you display your text, are you displaying it in a table/cell?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Ted Ljong said:
Thanks Kathleen
But I still have the problem. Maybe it´s because of the fact that i´m
writing and saving the pm text from the web, So I belive there are no
linebreaks even in the db, my question was a little bit wrong it should have
been (I think) How do I save the formtext with line breaks to the db?

When I have the linebreaks in the db I probably ca use the line on the page
you gave me.

Do you have any idea how to solve this?

Ted Ljong


"Kathleen Anderson [MVP- FP]" <[email protected]> skrev i meddelandet
 
T

Ted Ljong

Thomas
There are no returns in the data I submit
Yes the text text are displayed in a table/cell
Ted Ljong

Thomas A. Rowe said:
Ted,

You must have returns in the data that you are submitting to the database.
However when you display your text, are you displaying it in a table/cell?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Ted Ljong said:
Thanks Kathleen
But I still have the problem. Maybe it´s because of the fact that i´m
writing and saving the pm text from the web, So I belive there are no
linebreaks even in the db, my question was a little bit wrong it should have
been (I think) How do I save the formtext with line breaks to the db?

When I have the linebreaks in the db I probably ca use the line on the page
you gave me.

Do you have any idea how to solve this?

Ted Ljong


"Kathleen Anderson [MVP- FP]" <[email protected]> skrev i meddelandet
http://home.att.net/~codelibrary/FrontPage/tweaks.htm#Line Breaks

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/


Hi

I have posted this to the access newsgroup without success maybe
someone here can help me.
On my site I use a accessdb for a memberreg. In one table I have a
PM-field.

The problem is that when I present the db with the PM field on the
web (or maybe it´s called emofield) all the text is without the line
breaks. Is it possible to present the dbresult with the line breaks?

I appreciate your answer
Ted Ljong
 
T

Thomas A. Rowe

Ted,

Without returns in the actual data being submitted to the database, it is
not possible to use the ASP Replace command to insert one when displaying
the field content. To try and code a function to insert one, would be
difficult, as how would the function know where to insert it automatically
since the content would always be different.

At least for me when I display text in a table/cell, it always wraps unless
I select the no wrap option under cell properties.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Ted Ljong said:
Thomas
There are no returns in the data I submit
Yes the text text are displayed in a table/cell
Ted Ljong

Thomas A. Rowe said:
Ted,

You must have returns in the data that you are submitting to the database.
However when you display your text, are you displaying it in a table/cell?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

Ted Ljong said:
Thanks Kathleen
But I still have the problem. Maybe it´s because of the fact that i´m
writing and saving the pm text from the web, So I belive there are no
linebreaks even in the db, my question was a little bit wrong it
should
have
been (I think) How do I save the formtext with line breaks to the db?

When I have the linebreaks in the db I probably ca use the line on the page
you gave me.

Do you have any idea how to solve this?

Ted Ljong


"Kathleen Anderson [MVP- FP]" <[email protected]> skrev i meddelandet
http://home.att.net/~codelibrary/FrontPage/tweaks.htm#Line Breaks

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/


Hi

I have posted this to the access newsgroup without success maybe
someone here can help me.
On my site I use a accessdb for a memberreg. In one table I have a
PM-field.

The problem is that when I present the db with the PM field on the
web (or maybe it´s called emofield) all the text is without the line
breaks. Is it possible to present the dbresult with the line breaks?

I appreciate your answer
Ted Ljong
 
T

Ted Ljong

Thomas
I can´t se any different between those two options?
Ted Ljong


Thomas A. Rowe said:
Ted,

Without returns in the actual data being submitted to the database, it is
not possible to use the ASP Replace command to insert one when displaying
the field content. To try and code a function to insert one, would be
difficult, as how would the function know where to insert it automatically
since the content would always be different.

At least for me when I display text in a table/cell, it always wraps unless
I select the no wrap option under cell properties.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Ted Ljong said:
Thomas
There are no returns in the data I submit
Yes the text text are displayed in a table/cell
Ted Ljong

Thomas A. Rowe said:
Ted,

You must have returns in the data that you are submitting to the database.
However when you display your text, are you displaying it in a table/cell?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

Thanks Kathleen
But I still have the problem. Maybe it´s because of the fact that i´m
writing and saving the pm text from the web, So I belive there are no
linebreaks even in the db, my question was a little bit wrong it should
have
been (I think) How do I save the formtext with line breaks to the db?

When I have the linebreaks in the db I probably ca use the line on the
page
you gave me.

Do you have any idea how to solve this?

Ted Ljong


"Kathleen Anderson [MVP- FP]" <[email protected]> skrev i
meddelandet
http://home.att.net/~codelibrary/FrontPage/tweaks.htm#Line Breaks

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/


Hi

I have posted this to the access newsgroup without success maybe
someone here can help me.
On my site I use a accessdb for a memberreg. In one table I have a
PM-field.

The problem is that when I present the db with the PM field on the
web (or maybe it´s called emofield) all the text is without the line
breaks. Is it possible to present the dbresult with the line breaks?

I appreciate your answer
Ted Ljong
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top