473,394 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Formatting in memo fields

Is there any way that individual words or phrases can be formatted
within a memo field? Obviously, the whole field can have formatting
applied but I'm interested in being able to format just part of the
field. This will be in a report

Many thanks
Dec 15 '07 #1
7 6922
You can do this in Access 2007, by setting the Text Format property of the
memo field in your table to Rich Text.

In earlier versions, you cannot do this with the standard text box. If it is
important, you could install a special control to show the rich text. Here's
one:
http://www.lebans.com/richtext.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"anthony" <an*************@gmail.comwrote in message
news:4d**********************************@r29g2000 hsg.googlegroups.com...
Is there any way that individual words or phrases can be formatted
within a memo field? Obviously, the whole field can have formatting
applied but I'm interested in being able to format just part of the
field. This will be in a report

Many thanks
Dec 15 '07 #2
Ah, very many thanks
Dec 16 '07 #3
Before I look further into this, could give me an idea as to how it
works? Does it effectively mirror what the rich text property in
Access 2007 does ie give me the abilty to enter text into a memo
field, with individual words or phrases formatted as required, which
itself is held in the back end tables database and then have that pre-
formatted data reproduced via the front end report? Does the control
need to be attached to both databases?
Dec 17 '07 #4
In a Rich Text memo field, Access stores the text and formatting in the
table.

In a calculated control, the expression is stored in the Control Source
property of the text box. So, you could have just:
="Have a <b>good</dday!"
In that expression, nothing is stored in the fields of the table.

Alternatively, the expression in the text box could combine literals (like
the above) and data from a field. The previous example showed 2 fields plus
the formatting in the literals.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"anthony" <an*************@gmail.comwrote in message
news:f8**********************************@l32g2000 hse.googlegroups.com...
Before I look further into this, could give me an idea as to how it
works? Does it effectively mirror what the rich text property in
Access 2007 does ie give me the abilty to enter text into a memo
field, with individual words or phrases formatted as required, which
itself is held in the back end tables database and then have that pre-
formatted data reproduced via the front end report? Does the control
need to be attached to both databases?
Dec 17 '07 #5
I think I understand what you are saying - the nub of it being that if
I want to enter variably formatted text directly into a memo field in
a back end table, I need to do it in Access 2007
Dec 17 '07 #6

"anthony" <an*************@gmail.comwrote
I think I understand what you are saying - the nub
of it being that if I want to enter variably formatted
text directly into a memo field in a back end table,
I need to do it in Access 2007
There is a Rich Text Box control that comes or used to come with the
Developer Edition, FMS has a third party Rich Text control, and MVP Stephen
Lebans has, if I remember correctly, a free one at his site
http://www.lebans.com. As all of those predate the implementation in Access
2007, compatibility between them and Access 2007 would not be assured. The
Rich Text Box Control and the FMS product are .OCX ActiveX Controls, and I
think Stephens' is, too, so you would have to distribute the .OCX DLL along
with your application if you are distributing it to others.

Larry Linson
Microsoft Access MVP
Dec 17 '07 #7
No, the text box in A2007 has a new property that can display a sub-set of
HTML tags as rich text. The text box in previous versions could not do that.

As Larry says, you can get an add-in to use in previous versions. However,
my recollection is the Stephen Lebans' control (and most of the others) use
RTF (Rich Text Format) to store the formatting, not HTML tags like A2007
does. So an A2007 text box would not display the formatted text correctly,
unless you use the ActiveX control in the new version also.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"anthony" <an*************@gmail.comwrote in message
news:1e**********************************@i3g2000h sf.googlegroups.com...
>I think I understand what you are saying - the nub of it being that if
I want to enter variably formatted text directly into a memo field in
a back end table, I need to do it in Access 2007
Dec 18 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Remco Groot Beumer | last post by:
Hello, In an Access 97 database, there is a table that has some Memo-fields. Some of the memo-fields (not all) with a lot of text in it, display the data blurred all over each other (two...
13
by: ken | last post by:
I have 5 memo fields in one of my tables. I need to add 7 more. Will this be a problem? Am I being paranoid? Thanks
2
by: jacoballen | last post by:
I have a query that combines the results of three related tables. The memo fields are truncated to 255 characters, but I need all the information in them. I'm aware that removing code such as...
7
by: maffonso | last post by:
Hi guys, My table has a memo field. At the end of the month a run a report and I would like to concatenate the memo fields in a unique field by dept. Im thinking doing this through totals button...
3
by: Emily Jones | last post by:
This: TRANSFORM First(.Text) AS FirstOfText SELECT .Expr1000 FROM _allText GROUP BY .Expr1000 PIVOT .LetterSectionID; hangs the application if _allText.Text is a memo field. But it's fine...
10
by: ARC | last post by:
This is mainly a speed question. In this example: I have a QuotesHdr table that has a few memo fields. If these memo fields are used extensively by some users, and if their are a large number of...
4
by: Charles | last post by:
Hello, I'm trying to find a good program to use for editing memo fields in Access 2003. I'd love to use Notepad or Wordpad, but the only option I'm really finding is a program called Total...
2
by: steph | last post by:
I have a table with 250 fields. Of course you are wondering why 250 fields... what could I possibly be storing in so many fields? I am using this table as a general import table for files that...
4
by: Wayne | last post by:
I've been asked to construct a database which will require several memo fields. This database will be the standard frontend/backend mdb configuration. I have read many posts describing the...
7
by: munkee | last post by:
Hi all, I have 3 memo fields on my main table. I understand that they are susceptible to corruption over network environments. I am looking to move these memo fields in to seperate tables and I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.