Please forgive me I am very new to FusionPro and I am trying to combine several rules together. I need my rule to select the first 3 positions of a field, horizontal scale it and set it vertically. So far my code can select the first 3 positions and horizontal scale it. But when I try to add in the Vertical code it dismisses the selection of the first 3 characters or is voided with adding to the top or bottom of my code. My current code that selects the first 3 and horizontal scales is:
if(Field("No_Only")!="")
return '<setwidth newsize="53.6">' + Left(Field("No_Only"), 3,3);
______________________________________________________________
When I add the below to the top of my code it dismisses the 3 position selection and when I add the code below it is ignored.
__________________________________________________________
retstr = "";
for (i = 0; i <= Field("No_Only").length; i++)
{
if (Left(Field("No_Only"),i,1) == " ")
retstr = retstr + "<p>"
else
retstr = retstr + Left(Field("No_Only"),i,1) + "<p>"
}
return retstr;
Any help would be greatly appreciated.