textbox value passed to a label's string on a report (1 Viewer)

BennyLinton

Registered User.
Local time
Today, 07:11
Joined
Feb 21, 2014
Messages
263
This may not be possible but here goes. I need to place the value of a textbox within a string that prints on a report. It needs to be in bold and look something like this:

Payment must be post-marked by: December 31, 2017. If we do not receive your SIGNED notice,

here is a start:

="Payment must be post-marked by: " & <b>=text81</b> & ". If we do not receive your SIGNED notice,
 

plog

Banishment Pending
Local time
Today, 09:11
Joined
May 11, 2011
Messages
11,611
You can't bold inner text, but you can hack around it. I would break it up into 3 parts:

="Payment must be post-marked by:"
=Text81
=". If we do not receive your SIGNED notice,"

Then you make the second one bold. For spacing purposes its best if make the 3rd part start on a new line.
 

isladogs

MVP / VIP
Local time
Today, 14:11
Joined
Jan 14, 2017
Messages
18,186
Plog's solution is definitely the easiest way of doing this

However, in fact you can bold part of a text string if you use a rich text control.
For example, see the report below where instances of selected text have been shown in red bold text with a yellow highlight.



Whilst it can be done, its also quite a lot of work to do this for minimal gain.

Good luck
 

Attachments

  • SQLSearchReport.gif
    SQLSearchReport.gif
    53.6 KB · Views: 318

Mark_

Longboard on the internet
Local time
Today, 07:11
Joined
Sep 12, 2017
Messages
2,111
You may also wish a better name than "Text81" for your control. In six months when you come back to look at this you will wonder "Now just WHAT is this?"

More important, how are you filling it in? You may be able to skip a step if you can simply use your underlying source for this date.
 

Users who are viewing this thread

Top Bottom