In the proc report I'm creating, I'm needing the left margin or indent to dynamically change with the value of a variable (which I have named "indent"). I have had this work before, with the exact same code, so I'm at a loss as to why it is suddenly not working correctly now. Now, it is working for only some of my lines and just.... not working on the rest. Code: compute textcol;
if indent = 1 then do;
call define(_col_, 'style', 'style={leftmargin=.22in}');
end;
if indent = 2 then do;
call define(_col_, 'style', 'style={leftmargin=.38in}');
end;
endcomp; Data: Current Output: Any ideas what could be causing this? A setting in the rtf template maybe??
... View more