Solved Vertical Spacing in a textbox (1 Viewer)

freuzo

Member
Local time
Today, 07:50
Joined
Apr 14, 2020
Messages
98
Hello everyone,
I need to increase the line spacing in one the textbox in my report.
I've already increase the font size but the line between text are still too small.

It would be great if someone can give me a workaround. I'm on it for few hours now and haven't found anyting on this.
 

isladogs

MVP / VIP
Local time
Today, 07:50
Joined
Jan 14, 2017
Messages
18,246
Have you tried changing the line spacing for the textbox in the property sheet? Default =0cm
 

freuzo

Member
Local time
Today, 07:50
Joined
Apr 14, 2020
Messages
98
Yes and nothing changed probable because of the rich text property (some part need to be in bold)
 

SHANEMAC51

Active member
Local time
Today, 09:50
Joined
Jan 28, 2022
Messages
310
Yes and nothing changed probable because of the rich text property (some part need to be in bold)
does this mean that your field has a long text type in RTF format
 

SHANEMAC51

Active member
Local time
Today, 09:50
Joined
Jan 28, 2022
Messages
310

Attachments

  • Screenshot_6.png
    Screenshot_6.png
    7.2 KB · Views: 221
Last edited:

CJ_London

Super Moderator
Staff member
Local time
Today, 07:50
Joined
Feb 19, 2013
Messages
16,627
You can adjust paragraph spacing if you edit the formatting code. This should increase the spacing by 2 x font size

Code:
 <p style="line-height:2">
your text here
</p>
 

freuzo

Member
Local time
Today, 07:50
Joined
Apr 14, 2020
Messages
98
You can adjust paragraph spacing if you edit the formatting code. This should increase the spacing by 2 x font size

Code:
 <p style="line-height:2">
your text here
</p>
try that but nothing happens
 

freuzo

Member
Local time
Today, 07:50
Joined
Apr 14, 2020
Messages
98
you mean those tags

<div><font size=5>&nbsp;<strong>MEMO</strong></font></div>

<div><font size=1>&nbsp;</font></div>

<div>&nbsp;</div>

<div><font size=3>&nbsp;<em>MEMO MEMO</em></font></div>


I try them one by one without result.
Maybe I don't undestand how you want me to use them.
I just switched MEMO with the actual text of my textbox.
 

freuzo

Member
Local time
Today, 07:50
Joined
Apr 14, 2020
Messages
98
Ah okay, I see. I need to combine them to achive the result in your attached image.
But It won't do what I want because my text isn't separated with head and body.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 07:50
Joined
Feb 19, 2013
Messages
16,627
access doesn't have such a tag
it does - just not documented - but it only adjusts space between paragraphs, not overall linespacing

without tag

image_2022-03-09_151043.png
code
image_2022-03-09_151147.png


with tag
1646838868424.png
code
1646838926172.png


So not really a solution for the OP either
 

SHANEMAC51

Active member
Local time
Today, 09:50
Joined
Jan 28, 2022
Messages
310
It would be great if someone can give me a workaround. I'm on it for few hours now and haven't found anyting on this.
when reports with special formatting requirements are needed, they form a report in the WORD document format.
 

freuzo

Member
Local time
Today, 07:50
Joined
Apr 14, 2020
Messages
98
when reports with special formatting requirements are needed, they form a report in the WORD document format.
Your suggestion made me try Word automation for the first time and It worked great !
Surprisingly easy to implement.

Thanks !
 

Users who are viewing this thread

Top Bottom