I was gonna suggest a similar thing. This would work if you can create a report variable that will indicate whether the variable should be indented or not (like a vIndent variable).
Report variable vDataPrint(IFEQ ( .vIndent, 'N', .vData, ( ' ' + .vData) )) Then you would locate vDataPrint rather than vData I haven't tested this, but I believe it will retain the leading spaces. If it doesn't, then replace with an SFIL Karen -----Original Message----- From: Mark Lindner <[email protected]> To: [email protected] <[email protected]> Sent: Mon, Feb 10, 2020 2:55 pm Subject: Re: [RBASE-L] - Indent text based on value of a variable #yiv7093741295 P {margin-top:0;margin-bottom:0;}There may be an easier way, but one way would be to set a filler variable to blanks the length of the indent, and then append it to the front of what you want to print, or set your variable to print next to it. If indent = 'y' then set var vdata = (' ' & .vdata)endif orset var vblanks = ' 'if indent = 'y' thenset var vdata = (.vblanks & .vdata)endif Mark LindnerLindner & AssociatesPO Box 327Randolph MA 02368781 247 1100 From: [email protected] <[email protected]> on behalf of bmilyard <[email protected]> Sent: Monday, February 10, 2020 1:40 PM To: RBASE-L <[email protected]> Subject: [RBASE-L] - Indent text based on value of a variable I need to indent the printing in a report based on the value of a variable. This would look much like a bill of material where the child records would be indented from the parent. I know the variable value but have been unable to figure out how to indent the text based on that variable. Anyone done this before?Thanks, Bill -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/d5ec59a1-8a2e-4173-82a9-81d11ac042db%40googlegroups.com. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/MN2PR10MB43179B4735321261603F719C8F190%40MN2PR10MB4317.namprd10.prod.outlook.com. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/47601046.1120249.1581368677561%40mail.yahoo.com.

