473,414 Members | 1,677 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,414 software developers and data experts.

Formatting scientific names

I am assembling a database of scientific names, e.g. Acer saccharum
Marshall, sugar maple. The first two elements (genus and species)
should be italicized in the report, the third element (author) should
not. The three elements of the name, genus, species and author, are
in individual fields. I can create the complete scientific name in
the report by concatenating the three fields, but then I cannot format
its parts separately. I've also tried to trick the report into
printing the formatted field contents without white space, but without
success.

This is my first post, and I'd be grateful for any help on this (I'm
sure) elementary question.

May 8 '07 #1
2 2192

<pe*****@buffalostate.eduwrote in message
news:11**********************@e51g2000hsg.googlegr oups.com...
>I am assembling a database of scientific names, e.g. Acer saccharum
Marshall, sugar maple. The first two elements (genus and species)
should be italicized in the report, the third element (author) should
not. The three elements of the name, genus, species and author, are
in individual fields. I can create the complete scientific name in
the report by concatenating the three fields, but then I cannot format
its parts separately. I've also tried to trick the report into
printing the formatted field contents without white space, but without
success.
This is my first post, and I'd be grateful for
any help on this (I'm sure) elementary question.
What help, exactly, do you want? Text boxes in Access (through Access 2003)
do not allow formatting of anything less than all the text they contain.
And, while it is possible to calculate the text metrics, it isn't easy.
There are third-party controls allowing text formatting, including a free
one from MVP Stephen Lebans, http://www.lebans.com.

And, standard Access text boxes have additional formatting capabilities in
Access 2007.

Larry Linson
Microsoft Access MVP
May 9 '07 #2
Before you consider using an RTF control, have a look at this solution.
http://www.lebans.com/mixbold-plain.htm
Lady.zip is a database containing functions to allow the developer to mix
Bold and Plain formatting within a single Control. Demonstrates how to use
the Print method of the Report object..NEW - Feb. 18/2000

A97andA2kClaudio.zip are databases containing functions to allow the
developer to mix Bold and Plain formatting within a single Control. This is
an extension/modification to the original Lady.zip. Author Luiz Claudio
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

<pe*****@buffalostate.eduwrote in message
news:11**********************@e51g2000hsg.googlegr oups.com...
>I am assembling a database of scientific names, e.g. Acer saccharum
Marshall, sugar maple. The first two elements (genus and species)
should be italicized in the report, the third element (author) should
not. The three elements of the name, genus, species and author, are
in individual fields. I can create the complete scientific name in
the report by concatenating the three fields, but then I cannot format
its parts separately. I've also tried to trick the report into
printing the formatted field contents without white space, but without
success.

This is my first post, and I'd be grateful for any help on this (I'm
sure) elementary question.

May 9 '07 #3

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

Similar topics

3
by: Jeremy | last post by:
Hi, I have a webpage that is taking input from a form and using it as criteria to select data out of an sql database. The page displays an html table with the results. The user can then click a...
3
by: David Sharp | last post by:
I'm trying to find a way to format a FLOAT variable into a varchar in SQL Server 2000 but using CAST/CONVERT I can only get scientific notation i.e. 1e+006 instead of 1000000 which isn't really...
1
by: Koen | last post by:
Hi, could anyone please tell me how I can get the equivalent of this: fprintf(aFile,"-20.15g",aDouble); but in C++ using formatted streams? I tried with C++ formatted streams using:...
1
by: wongjoekmeu | last post by:
Hello All, I have a following piece of code in C that I need to rewrite to C++. However I just don't seem to be able to understand the format rules in C. The C code look like this: I have...
2
by: Ingo Nolden | last post by:
Hello, I want to format floats ( doubles ) into small strings of 7 characters. I tried to use std::ostream, but I don't get the desired behaviour. Especially in scientific notation I am not...
2
by: CJ | last post by:
This is a really silly question, but I just can't get it right. I have a double; the value is 0.00003025. I want to display it exactly as it stands, but by default it is displayed in scientific...
53
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I...
6
by: Chris Theis | last post by:
Hi all, I'm currently facing something which is quite annoying and probably one of you might have an idea of how to solve it efficiently. I have some software (upon which I have no...
30
by: Ivan Reborin | last post by:
Hello everyone, I was wondering if anyone here has a moment of time to help me with 2 things that have been bugging me. 1. Multi dimensional arrays - how do you load them in python For...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.