473,399 Members | 2,146 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,399 software developers and data experts.

Multi font in one field

Is it possible to place multiple fonts into one field of an access report?
What I need to do is place some text which is in a specific font (used by
nurseries to show of a unique species of plant) with an existing plant name
which has a font already selected.

I thought of combining two fields with different fonts but when they were
combined it reverts back to one font.

Can anyone help? Is this possible to do?

Cheers in Advance - Scott
Jul 6 '07 #1
3 5564
You can do this in Access 2007, which supports rich text. (It's HTML
actually.)

In earlier versions, you would need to load a rich text control such as this
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.

"scott" <sc**********@maneyacts.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
Is it possible to place multiple fonts into one field of an access report?
What I need to do is place some text which is in a specific font (used by
nurseries to show of a unique species of plant) with an existing plant
name which has a font already selected.

I thought of combining two fields with different fonts but when they were
combined it reverts back to one font.
Jul 6 '07 #2
Allan - Thank you. This is a perfect solution. I have taken a look at the
link and it's very usefull. In addition to what you've already answered, is
it possible in the field where the OCX looks to combine two other fields?

The two fields would be "Plant" and "UniqueID" found in a form
"frmPlantList" What we need to do is have the one OCX fiels show the two
fields combined, lets say "Plant1 Unique" with Plant 1 being in Bold Ariel
and Plant 1 in Italic Ariel.

I wanted to know if in this scenario you could have in the OCX control
source something like
[forms]![frmPlantList]![Plant],[forms]![frmPlantList]![UniqueID]
and it would see the two fields to give the predefined font formating.

Thanks again. Your advice is alway appreciated!

"Allen Browne" <Al*********@SeeSig.Invalidwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
You can do this in Access 2007, which supports rich text. (It's HTML
actually.)

In earlier versions, you would need to load a rich text control such as
this
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.

"scott" <sc**********@maneyacts.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
>Is it possible to place multiple fonts into one field of an access
report?
What I need to do is place some text which is in a specific font (used by
nurseries to show of a unique species of plant) with an existing plant
name which has a font already selected.

I thought of combining two fields with different fonts but when they were
combined it reverts back to one font.

Jul 7 '07 #3
Hi Scott.

While I have not tested it, I can't see any reason why you could not
programmatically write the Rich Text Format data yourself (either by
concatenating 2 existing memos that contain RTF, or by adding RTF tags
yourself when you concatenate them), and then display it in the Rich Text
control.

Again, be aware that Access 2007 uses HTML, not RTF, for what it calls "rich
text." Therefore if you go with the RTF solution, you may not be heading in
the right direction for the long-term future.

--
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.

"scott" <sc**********@maneyacts.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
Allan - Thank you. This is a perfect solution. I have taken a look at the
link and it's very usefull. In addition to what you've already answered,
is
it possible in the field where the OCX looks to combine two other fields?

The two fields would be "Plant" and "UniqueID" found in a form
"frmPlantList" What we need to do is have the one OCX fiels show the two
fields combined, lets say "Plant1 Unique" with Plant 1 being in Bold Ariel
and Plant 1 in Italic Ariel.

I wanted to know if in this scenario you could have in the OCX control
source something like
[forms]![frmPlantList]![Plant],[forms]![frmPlantList]![UniqueID]
and it would see the two fields to give the predefined font formating.

Thanks again. Your advice is alway appreciated!

"Allen Browne" <Al*********@SeeSig.Invalidwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
>You can do this in Access 2007, which supports rich text. (It's HTML
actually.)

In earlier versions, you would need to load a rich text control such as
this
one:
http://www.lebans.com/richtext.htm

"scott" <sc**********@maneyacts.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
>>Is it possible to place multiple fonts into one field of an access
report?
What I need to do is place some text which is in a specific font (used
by
nurseries to show of a unique species of plant) with an existing plant
name which has a font already selected.

I thought of combining two fields with different fonts but when they
were
combined it reverts back to one font.
Jul 7 '07 #4

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

Similar topics

1
by: Greg Bryant | last post by:
Hi folks. I'm porting a cf site to php, everything's going very well, I like php much better (this, of course, being the correct forum to make that statement :). One problem I have is with...
115
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." ...
5
by: javaguy | last post by:
I have a data entry web application that is formatted heavily with tables. Having learned a bit of CSS, I'm hoping to rewrite this using <div> tags. But I have run into a formatting problem that...
2
by: Mr.Baha | last post by:
Hello, I have a situation where I am appending text to a multi-line (rich)textbox in a C# form. Now depending on which event does the appendtext, i want to distinguish the lines in the textbox by...
11
by: pmarisole | last post by:
I am trying to use the vbscript "split" function on a multi-select field. I am trying to do a mass update of several records at a time. I am getting an error and I'm not sure what to do. Here is...
3
by: Robert W. | last post by:
Long ago I developed a simple algorithm for calculating how much space is required to display a multi-line label in a limited width. It seemed to be working okay but then my testing revealed a...
1
by: DeWittds | last post by:
I have been tring to recreate a simple program that I wrote many years ago in quick basic. The program get name and address from a database, then the user will enter in info like order #, po # and...
4
by: DeWittds | last post by:
Had no luck in the visual basic group maybe someone here can give me a hand. I have been tring to recreate a simple program that I wrote many years ago in quick basic. The program get name and...
0
by: assgar | last post by:
Hello First sorry if there is to much code in this example. I am new to working with multi page forms. I have a search form that gets preloaded info from the database. There are 3...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.