Solved Vertical Spacing in a textbox

freuzo

Member
Local time
Today, 18:13
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.
 
Have you tried changing the line spacing for the textbox in the property sheet? Default =0cm
 
Yes and nothing changed probable because of the rich text property (some part need to be in bold)
 

Attachments

  • Screenshot_6.png
    Screenshot_6.png
    7.2 KB · Views: 345
Last edited:
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>
 
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
 
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.
 
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.
 
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
 
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.
 
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

Back
Top Bottom