2005 Aug 11 3:12 PM
hai frnds
i need to align the fields in the data area to the right side of the cell in the smartforms i had tried the ' field(R) ' options but it is not working. plz suggest any help its urgent.
2005 Aug 11 3:17 PM
Create a paragraph with 'Right Alligned' setting one and attach with the smartform. Give this paragraph to the text node.
You have to use the smart style to create the paragraph.
Goto smartform transaction. Select the second radio button and create a style.
This can be attached with the smartform in the 'output option' tab of the text node or even in the smartform attributes.
2005 Aug 11 3:17 PM
Create a paragraph with 'Right Alligned' setting one and attach with the smartform. Give this paragraph to the text node.
You have to use the smart style to create the paragraph.
Goto smartform transaction. Select the second radio button and create a style.
This can be attached with the smartform in the 'output option' tab of the text node or even in the smartform attributes.
2005 Aug 11 3:24 PM
hi ateeq,
u can do this when u r creating paragraph format, in transaction SMARTSTYLES itself. Try doing it and it works very well.
Lemme know u solved it.
With regards,
praveen.
2005 Aug 11 3:30 PM
vinod i am having another problem. i am printing a window with line after the end of main window. and i had given the correct parameters.(only after main window) but still this window is printed on every page. can u tell where the error may have occured
thanx in advance
2005 Aug 11 3:46 PM
Hi,
I think your window is before the MAIN window in the smartform. Look at the left side of the smartform builder and drag and drop the window after the MAIN window. Hope it will work now.
Thanks
Vinod
2005 Aug 11 4:08 PM
vinod it is after the main window only. all other windows related after the footer were not printed except this window. can u given other hints to avoid this
2005 Aug 11 4:26 PM
Hi Ateeq,
I would suggest using the template node for drawing a line after the end of main window. Do not create a separate window, instead have the template as the last node of the MAIN window and select the appropriate pattern.
Thanks
Vinod
2005 Aug 11 5:07 PM
its working but the main window is not adjusted dynamically. i.e., the line is printed after that the main window is still appearing after the thick line. any suggestion to this.
2005 Aug 11 5:35 PM
hi ateeq,
Can u be bit clear in ur requirement?
do u want to put line at the end of the table in main window? or line after main window? fiest of all y do u need line there?
with regards,
praveen.
2005 Aug 11 8:07 PM
Hi Ateeq,
This problem is because, you are printing the line in a separate window(window1). In this case it just prints the contents(LINE) of the window1, from the place where you declare the position of the window1.
eg: if the MAIN WINDOW is ending at position 10 and you have given the starting position for window2 as 5, it just prints the line at 5 regardless there are contents in MAIN WINDOW after that.
Instead, you declare 2 text elements in the MAIN WINDOW, first one for printing the main data(eg: Line items with a LOOP) and the second for printing the LINE. So by doing this, once the contents in the 1st text element is done, the line is printed from the position where contents end by the 2nd text element.
If this solves your problem, please award the points accordingly.
Vamsi