Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Font Attributes to Concatenated Fields 5

Status
Not open for further replies.

jdegeorge

Programmer
Mar 19, 2002
1,313
US
Hi:

I have a control on a report that's made up of several table fields:

=IIf(IsNull([Resolution]),"Description: " & [Description] & Chr(13) & Chr(10) & "Assessment: " & [Assessment],"Description: " & [Description] & Chr(13) & Chr(10) & "Assessment: " & [Assessment] & Chr(13) & Chr(10) & "Resolution: " & [Resolution])

It does what I need it to do, but I'd really love to make the words "Description", "Assessment" and "Resolution" bold if I could. Is there a way to do that?

Jim DeGeorge [wavey]
 
Under More Controls Microsoft Rich TextBox Control 6.0

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Michael

Found it! Now I just have to figure out how to use it. I'll post back and let you know how it goes. Thanks!

Jim DeGeorge [wavey]
 
Michael

Thanks again for the RTF tip, but I have no clue how to use it and I can't find any help or examples anywhere. I guess I'm not up to the challenge. A star for you tip, however, as I'm sure it's worth one if I could get this to work! :)

Jim DeGeorge [wavey]
 
hmmmmmmmmmmmmmmmm!

Another (bad) example of Ms. Documentation (or a good example of the lack thereof!).

I alos failed to find ANY doc/ref in ye olde ubiquitous {F1} (aka HELP). It is at least somewhat discussed in some third party manuals (e.g. Sybex " Mastering Visual Basic 6" ISNN 2522122272) and (I'm "Sure") others.

RTF stands for "Rich Text Format" and is somewhat similar in concept to HTML, in that it uses "Tags" to set attributes. The specific (programatic) setting of attributes generall applies to the .SelText, which is documented for 'regular' text boxes. While the specific attribute tags are not all that numerous, there are more than I can re-key to document for you.

On the other hand, I would suggest that you review any third party documnetation you have access to for documentation and sample code for the methods and properties available. If, unfortunatly, you have not yet acquired any of your own and do not have access to anyone else's, I would also suggest the investment in at least a couple, as even where Ms. Does provide the ubiquitous {F1}, it is often couched in the somewhat arcane Ms. Speak terms.




MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Michael

Thanks for the reference tips. I have a good number of 97 and eariler books but never got around to getting any XP books...we recently upgraded! I'll try to get one soon.

Jim DeGeorge [wavey]
 
Much earlier in this record-breaking thread Jim replied to Eupher that "That's it exactly! Now, if you can fix it, there's a star in it for you (wink, wink)!"

I am not sure that using either a subreport or an RTF control will fix the layout issue.


Duane
MS Access MVP
 
Duane

There are a lot of posts to this thread! Anywho, thought you'd be happy to know that I've settled on using your suggestion for the separate label and field boxes. Yes, I get extra space if fields in other columns grow, but I'll have to live with it! Thanks again!

Jim DeGeorge [wavey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top