Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

align in smartforms

Former Member
0 Kudos
968

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.

1 ACCEPTED SOLUTION

Vinod_Chandran
Active Contributor
0 Kudos
306

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.

9 REPLIES 9

Vinod_Chandran
Active Contributor
0 Kudos
307

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.

0 Kudos
306

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.

0 Kudos
306

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

0 Kudos
306

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

0 Kudos
306

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

0 Kudos
306

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

0 Kudos
306

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.

0 Kudos
306

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.

0 Kudos
306

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