‎2008 Oct 28 11:03 PM
Hi,
i have an output like this in my smartform output.
1 @ 12.0 = 12
2 @ 6.0 = 12
3 @ 3.6 = 10.8
1 @ 100.2 = 100.2
here i want to change the output like ( all equals in same line) after 1 @ 12.0, 2 @ 6.0, 3 @ 3.6, 1 @ 100.2 .
= 12
= 12
= 10.8
= 100.2
logically i need to handle this...can any body tell how to resolve this.
Thanks,
Sree.
Edited by: t sree on Oct 28, 2008 6:03 PM
Edited by: t sree on Oct 28, 2008 6:04 PM
‎2008 Oct 29 5:20 AM
hi,
if you know that there will be only 4 lines, then you can use program lines to code and display as you like by using text nodes.
like...
select the window where u want to display this 4 lines.
right click it and select the flowlogic->program lines.
in this u have to mention the input parameters and output parameters, hope u know this.
write your logic.
1 @ 12.0 = 12
2 @ 6.0 = 12
3 @ 3.6 = 10.8
1 @ 100.2 = 100.2
take these in 4 other variables.
and select the text nodes where u want to display this values
and pass the variables there.
2.
if you don't know how many lines it may come then you have to use Field symbols.
‎2008 Oct 29 4:51 AM
Hi,
You are not specifying that how much data you are passing from your driver program....pls write the code in "Program lines" in smart form to calculate..
1 @ 12.0 = 12
2 @ 6.0 = 12
3 @ 3.6 = 10.8
1 @ 100.2 = 100.2
then store the 1 @ 12.0 = A & result 12 = a
2 @ 6.0 = B & result 12 = b
3 @ 3.6 = C & result 10.8 = c
1 @ 100.2 = D & result 100.2 = d
Now in one text drag & drop A,B,C,D
and in another text
= a
= b
= c
= d
try this....i think your problem will be resolved
Arunima
‎2008 Oct 29 5:06 AM
Hi Sree,
There is a T.Code SMARTSTYLES, in which you can define paragraph and charater formats,
In praragraph formates, there is a window tab called TABS in that you can define your tabs like the position and its units and then use these smartstyle in the smartforms.
i hope you understand, and these may help you.
Regards
Kumar M.
Edited by: mukesh kumar on Oct 29, 2008 6:10 AM
‎2008 Oct 29 5:20 AM
hi,
if you know that there will be only 4 lines, then you can use program lines to code and display as you like by using text nodes.
like...
select the window where u want to display this 4 lines.
right click it and select the flowlogic->program lines.
in this u have to mention the input parameters and output parameters, hope u know this.
write your logic.
1 @ 12.0 = 12
2 @ 6.0 = 12
3 @ 3.6 = 10.8
1 @ 100.2 = 100.2
take these in 4 other variables.
and select the text nodes where u want to display this values
and pass the variables there.
2.
if you don't know how many lines it may come then you have to use Field symbols.
‎2008 Oct 29 5:25 AM
Hi tsree,
In the text node 1 @ 12.0, 2 @ 6.0, 3 @ 3.6, 1 @ 100.2 drag
and drop the related fields.
In the same text node.
= drag and drop the div1 field.
= drag and drop the div2 field .....and so on
Regards,
Sravanthi