Leading spaces in Variables from the dictionary seems to be trimmed
Posted: Mon Oct 02, 2006 8:29 am
I have a number of text fields on my report which simply contain variables from the dictionary eg {Field1}
I'm setting this in code at runtime by code similar to :
dim rpt as new Stimusoft.report.stireport
rpt.load("myreport.mrt")
rpt.dictionary.variables("Field1")=" Hello"
rpt.compile
rpt.render
rpt.show
When this displays the word "Hello" appears on the left hand side of the field (ie the leading spaces have been removed).
How do I stop this?
I'm setting this in code at runtime by code similar to :
dim rpt as new Stimusoft.report.stireport
rpt.load("myreport.mrt")
rpt.dictionary.variables("Field1")=" Hello"
rpt.compile
rpt.render
rpt.show
When this displays the word "Hello" appears on the left hand side of the field (ie the leading spaces have been removed).
How do I stop this?