|
Subject:
|
Changing between bold and plain text in a text box
|
|
Posted By:
|
funkybuddha
|
Post Date:
|
1/3/2006 6:45:02 AM
|
Hi I'm trying to change between bold and plain text within a single text box. The text box captures various info from the database and then puts these into sections ie:- "New Parts Required:" which I want in bold, and then a list of these new parts which would be in plain text. Any help would be great.

|
|
Reply By:
|
mmcdonal
|
Reply Date:
|
1/3/2006 7:26:56 AM
|
I don't think this can be done.
What you can do is to place a label in bold with "New Parts Required:" and then just make it visible when you need it, and populate the text box with plain text.
HTH
mmcdonal
|
|
Reply By:
|
funkybuddha
|
Reply Date:
|
1/3/2006 9:15:11 AM
|
I know that this is a way of altering the bold and plain text. It's just that I am never sure if "New Parts Required:" will be a section on the report. If it isn't it isn't included. There are alot of sections like this so don't want a string of IIf statements and a serious amout of nesting of statements.
Have been given advice on using RichText Object and been looking into this...
Any easier options would be great. have included a code snippet to see if this makes the problem clearer to understand.
If (Len(nam) > 0) Then nam = "NEW PARTS REQUIRED: " & nam & "." End If Here I want "NEW PARTS REQUIRED: " to be in bold and the rest of nam to be plain...
|