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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format Command



 
 
Thread Tools Display Modes
  #1  
Old January 14th, 2010, 11:49 AM posted to microsoft.public.access.gettingstarted
Roger Bell
external usenet poster
 
Posts: 275
Default Format Command

I have a text box in a report using the Trim command where I need to change
the Formatting procedure for part of this as follows:

=Trim("Born On"[Date of Birth],Format Bold, "In" [Place], Format Bold)

I need the Date of Birth Field to be in bold and the Place to be in Bold.

As I am relatively new, I would appreciate the correct syntax that I need to
use and any help wil be greatly appreciated.
  #2  
Old January 14th, 2010, 11:58 AM posted to microsoft.public.access.gettingstarted
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default Format Command

The Format function cannot do what you're trying to do.

Assuming this is for a report, take a look at what Stephen Lebans has at
http://www.lebans.com/mixbold-plain.htm

If it's for a form, you're out of luck.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Roger Bell" wrote in message
...
I have a text box in a report using the Trim command where I need to change
the Formatting procedure for part of this as follows:

=Trim("Born On"[Date of Birth],Format Bold, "In" [Place], Format Bold)

I need the Date of Birth Field to be in bold and the Place to be in Bold.

As I am relatively new, I would appreciate the correct syntax that I need
to
use and any help wil be greatly appreciated.



  #3  
Old January 14th, 2010, 07:05 PM posted to microsoft.public.access.gettingstarted
KenSheridan via AccessMonster.com
external usenet poster
 
Posts: 1,610
Default Format Command

If the date is being printed at a consistent width, which will depend on what
date format and font you are using, you should be able to do it as four
separate controls; labels or unbound text boxes for "Born On" and "In", and
bound controls for Date of Birth and Place. You can then set the FontWeight
properties of the two bound controls to Bold.

Ken Sheridan
Stafford, England

Roger Bell wrote:
I have a text box in a report using the Trim command where I need to change
the Formatting procedure for part of this as follows:

=Trim("Born On"[Date of Birth],Format Bold, "In" [Place], Format Bold)

I need the Date of Birth Field to be in bold and the Place to be in Bold.

As I am relatively new, I would appreciate the correct syntax that I need to
use and any help wil be greatly appreciated.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...arted/201001/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 08:19 AM.


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