MBB70
MBB70

Reputation: 367

How do you put a blank underline in an Access (rich text) text box

I need to include a blank line in a text box to hold a signature in an Access form. Flanking several space characters with <u> </u> doesn't do it. I flanked another word in the text box with the <u> </u> and it worked fine. Typing several successive underscores doesn't look right (it's dashed).

Upvotes: 0

Views: 1203

Answers (2)

MBB70
MBB70

Reputation: 367

Appending a hairspace (character code 8202) to the end of a string of "regular" spaces (code 32) allows underlining the entire string of preceding spaces. Thanks to Gustav for opening the door to this solution.

Upvotes: 0

Gustav
Gustav

Reputation: 55961

You can insert some divs:

<div>Signed by:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>____________________</div>
<div>Signer</div>

Edit: Two methods:

<div>Using font <font face="Microsoft Sans Serif" size=2>Microsoft Sans Serif 8:</font></div>

<div><font face="Microsoft Sans Serif" size=1>___________________________</font></div>

<div>&nbsp;</div>

<div>or <font face="Microsoft Sans Serif" size=2>Microsoft Sans Serif 24:</font></div>

<div><font face="Microsoft Sans Serif" size=6>____________</font></div>

<div>&nbsp;</div>

<div><font size=3>Using underline and an end-of-line marker:</font></div>

<div><u>                                                              &lt;</u></div>

Displays in Access 2016 like this:

enter image description here

Upvotes: 1

Related Questions