TOPIC: Leading spaces for Command Line Replacement

Leading spaces for Command Line Replacement 16 Oct 2009 14:35 #540

  • admin
  • admin's Avatar
  • Offline
I am using the following command line:

"C:\Program Files\SaberLogic\Logicity\Logicity Desktop.exe" "G:\SKYLINE\REPORTS\OSD_OccLedger.rrd" PropName="Beacon Appartments";USER=Fred;Unit=" 26 10C";

Note: I needed to use the final semi-colon to get all 3 parameters in.

The 'Unit' parameter is being shown on the report as '26 10C'. Is there a way to not have the parameter "trimmed"?
The administrator has disabled public write access.

Re:Leading spaces for Command Line Replacement 22 Oct 2009 21:19 #544

  • aellis
  • aellis's Avatar
I've not run into that before. I'll add it to my list of bugs to check out. In the meantime, here is a workaround you can do. On the command line, replace your spaces with underscores and then in Crystal use the 'Replace' function to replace those underscores with spaces. You can use this formula then instead of the parameter and have a field with the correct number of leading spaces.
The administrator has disabled public write access.

Logicity Logo White 300

526 S Main St., Suite 805, Akron, OH 44311 USA
855.758.0100
sales@logicitysuite.com