Solved

MS Access - possible to have HTML format field/form text box?

Posted on 2008-10-23
9
1,247 Views
Last Modified: 2013-11-28
I've made an access database that sends emails out based on text entered on a form.
I have to put HTML coding in the text form field in order for the email to show any HTML formatting.

My question is, is there a way to get an Access text form control to show text in HTML format?

-Bill

0
Comment
Question by:Bill543
  • 5
  • 3
9 Comments
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 125 total points
ID: 22793906
Yes, upgrade to Access 2007.
The so called Rich Text Control of this version does not use RTF formatted but HTML formatted text.

/gustav
0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 125 total points
ID: 22794084
If you are using A2007 , it has a 'rich text control' which is really an html text control and so allows you to create html encoded text.
I don't know of anything in any earlier versions.  You can add the html code to the text but I don't know how you would display the formatted result in Access.

It might be worth emailing a company such as FMS who would probably know of anything that will do this.
0
 

Author Comment

by:Bill543
ID: 22795370
Darn - I have Access 2007 at home, but my place of work is running 2003. I think I may try to link the Access 2003 form control to a word document to display the html text...
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 22795757
Or use the web browser control? I haven't used it but it should be able to display (net edit) an HTML note.

/gustav
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Closing Comment

by:Bill543
ID: 31509474
Thanks for your inputs, guys. I went ahead and split the points evenly between you - hope you don't mind.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 22797913
So you upgraded? Or?

/gustav
0
 

Author Comment

by:Bill543
ID: 22798473
Actually the place I work probably won't upgrade anytime soon, and trying to email an OLE form object linked or embedded to a word document didn't work, and the web browser function seemed to be more for linking to webpages.

So I think what I'm going to do is just save the email body as an HTML file on the server and send using coding similar to this:
objMessage.CreateMHTMLBody "file://c|/temp/test.htm"

-Bill
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 22799696
Sounds like a good compromise.

/gustav
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 22799710
>  the web browser function seemed to be more for linking to webpages.

It is. But if you have the content saved as an HTML file, you could open this.
However, a lot of work to do if it not even is absolutely needed.

/gustav
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SPROC to look for existing record in passed table name 7 46
Unrecognized Database Format 8 90
Create Form using Wizard 14 29
Query design issue 2 18
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now