reportdr
Technical User
- Apr 11, 2006
- 10
Hello
I have created a report for a 3rd party vendor who reuqires a certain format for importing into their system. I export as tab separated values though set up as fixed width. Everything is working perfectly except the first field imports with a bar at the start and a quotation mark at the end. The formula:
numbervar requiredlength:=4;
numbervar currentlength:=length({@Salutation});
if currentlength<requiredlength then
{@Salutation}+replicatestring(" ",requiredlength-(length({@Salutation}))) else
if currentlength>=requiredlength then
left({@Salutation},requiredlength)
The value of Salutation is simply "".
Please note that the creation of this field is exactly like I created any other field that was required to be set up even though the fields are blank.
Can someone please help? Thanks.
S.
I have created a report for a 3rd party vendor who reuqires a certain format for importing into their system. I export as tab separated values though set up as fixed width. Everything is working perfectly except the first field imports with a bar at the start and a quotation mark at the end. The formula:
numbervar requiredlength:=4;
numbervar currentlength:=length({@Salutation});
if currentlength<requiredlength then
{@Salutation}+replicatestring(" ",requiredlength-(length({@Salutation}))) else
if currentlength>=requiredlength then
left({@Salutation},requiredlength)
The value of Salutation is simply "".
Please note that the creation of this field is exactly like I created any other field that was required to be set up even though the fields are blank.
Can someone please help? Thanks.
S.