line breaks from access PM field??

  • Thread starter Thread starter Ted Ljong
  • Start date Start date
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
 
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
 
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
 
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
 
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
 
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
 
Back
Top