String Minipulation

M

-MK-

Hi there,

was wondering if anyone could point me in the right direction here.
I have a string, but only need a certain part of it "bolded"

heres what i have:

txtCom_In.Text = txtCom_In.Text & vbCrLf & rsMyRS.Fields!DATE & " " &
rsMyRS!Comment & " //" & rsMyRS.Fields!USER

I need the rsMyRS.Fields!DATE to be bolded, and then the rest can be normal
text.

is this possible?

Thanks.
-MK-
 
O

Ofer

As much as I know you can't make just a part of a text box bold, the text box
format apply to all of the text in it.

Also, I wonder if your prev post about the "Recordset .Find" was fixed.
 
F

fredg

Hi there,

was wondering if anyone could point me in the right direction here.
I have a string, but only need a certain part of it "bolded"

heres what i have:

txtCom_In.Text = txtCom_In.Text & vbCrLf & rsMyRS.Fields!DATE & " " &
rsMyRS!Comment & " //" & rsMyRS.Fields!USER

I need the rsMyRS.Fields!DATE to be bolded, and then the rest can be normal
text.

is this possible?

Thanks.
-MK-

Not using Access as shipped.

You can download and install a RichTextFormat control
See the RichText available for free at:
http://www.lebans.com

Also see his MixedBold report for another work around you might be
able to use.
 
M

-MK-

hmmm.. too bad.

Thanks again Ofer.

and yeah, i got the .Find to work - my way and yours, both worked.


Cheers
-MK-
 
Top