BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Barite | Level 11

Hello Experts,

 

I would like to have a space befor the text :

SASdevAnneMarie_0-1647704990320.png

 

Actually,  I have this result : 

 

SASdevAnneMarie_1-1647705086817.png

 

 

My code is :

obj.table_start(name: "Table3",label: "Notre troisième table",overrides: "rules=none width=18cm frame=void");

		
	        obj.row_start();  
 
            obj.format_cell(text: "Frais des supports ",  overrides: " just=left color=black font_size=10pt font_weight=medium cellwidth=6cm cellheight=0.4cm");

            obj.row_end();
		
		
 obj.table_end();

 obj.table_start(name: "Table4",label: "Notre quatrième table",overrides: "rules=none width=18cm frame=void");
            obj.row_start();  
 
            obj.format_cell(text: "Supports fonds euros :",  overrides: "just=left color=black font_size=10pt font_weight=medium cellheight=0.4cm");
           obj.row_end();	
           obj.row_start();  
 
            obj.format_cell(text: "Supports unités de compte :",  overrides: "just=left color=black font_size=10pt font_weight=medium cellheight=0.4cm");
			
            obj.row_end();

           
  obj.table_end();

Do you know please how to insert the space before "Support fonds euros"  and "Support unités de compte" ?

 

Thank you !

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
And for some destinations, you can use the leftmargin= style override or the indent= style override.
Cynthia

View solution in original post

3 REPLIES 3
Patrick
Opal | Level 21

Just guessing but adding a style like: padding: 20px or protected spaces might do the job.

https://documentation.sas.com/doc/en/pgmsascdc/v_008/odsadvug/n0bntngs50dqppn1o2uw6fsnobug.htm 

Cynthia_sas
Diamond | Level 26
And for some destinations, you can use the leftmargin= style override or the indent= style override.
Cynthia
SASdevAnneMarie
Barite | Level 11
Thank you, Cynthia !
Leftmargin works well !

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 944 views
  • 0 likes
  • 3 in conversation