A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help parsing HTML into text in my text box within my form



 
 
Thread Tools Display Modes
  #1  
Old March 29th, 2010, 03:18 PM posted to microsoft.public.access.forms
chris23892 via AccessMonster.com
external usenet poster
 
Posts: 26
Default Help parsing HTML into text in my text box within my form

Here's an interesting problem I hope someone can help with.

I am pulling in data that is displayed in one of my text boxes (set up as
memo format). the data used to be in plain text from the SQL server we are
pulling from.

Well now, we just had to change things...Now the data pulled for this text
field comes in the format of HTML and now it is displayed in my text feild in
my Form as garbled, HTML

How can I parse this to plain text? I have no control over the format in
which the data is stored on the SQL server we are pulling this information
from.

There has to be a way I can convert the HTML to plain text and have this
displayed correctly in my text box in my form.

Suggestions??

--
Message posted via http://www.accessmonster.com

  #2  
Old March 29th, 2010, 10:22 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Help parsing HTML into text in my text box within my form

Can you push it out to Excel, copy, and Paste Special - Text, and then back
into Access?

--
Build a little, test a little.


"chris23892 via AccessMonster.com" wrote:

Here's an interesting problem I hope someone can help with.

I am pulling in data that is displayed in one of my text boxes (set up as
memo format). the data used to be in plain text from the SQL server we are
pulling from.

Well now, we just had to change things...Now the data pulled for this text
field comes in the format of HTML and now it is displayed in my text feild in
my Form as garbled, HTML

How can I parse this to plain text? I have no control over the format in
which the data is stored on the SQL server we are pulling this information
from.

There has to be a way I can convert the HTML to plain text and have this
displayed correctly in my text box in my form.

Suggestions??

--
Message posted via http://www.accessmonster.com

.

  #3  
Old March 30th, 2010, 01:53 AM posted to microsoft.public.access.forms
chris23892 via AccessMonster.com
external usenet poster
 
Posts: 26
Default Help parsing HTML into text in my text box within my form

Not realistic for over 10,000 records. There has to be a VB script somewhere
that can parse HTML into text so it will display right in the text box in my
form.

KARL DEWEY wrote:
Can you push it out to Excel, copy, and Paste Special - Text, and then back
into Access?

Here's an interesting problem I hope someone can help with.

[quoted text clipped - 14 lines]

Suggestions??


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201003/1

  #4  
Old March 30th, 2010, 04:00 PM posted to microsoft.public.access.forms
Daniel Pineault
external usenet poster
 
Posts: 658
Default Help parsing HTML into text in my text box within my form

you could use a web browser call to extract the innerHTML or something along
those lines.

see
http://www.tek-tips.com/viewthread.cfm?qid=1458220
http://www.pcreview.co.uk/forums/thread-947224.php
http://www.ozgrid.com/forum/showthread.php?t=91644

To give you some inspiration. You should be able to modify the sample code
to suit your needs.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.



"chris23892 via AccessMonster.com" wrote:

Not realistic for over 10,000 records. There has to be a VB script somewhere
that can parse HTML into text so it will display right in the text box in my
form.

KARL DEWEY wrote:
Can you push it out to Excel, copy, and Paste Special - Text, and then back
into Access?

Here's an interesting problem I hope someone can help with.

[quoted text clipped - 14 lines]

Suggestions??


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201003/1

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.