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: 

Smartform - Problems with tables, please help

Former Member
0 Kudos

Hi,

I have many loops in the table of the Main Window.

All of the loops refer to table lines that are boxed up. By boxed up, I mean that they are surrounded from each side by black borders (table painter).

However, I have conditions in place to not output the specific line, should no data be in the loop where the table line resides. The problem lies in the fact that while the conditions hide the header and black borders on the left, right and bottom, the top black border still remains.

What do I do?

Thanks,

John

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos

The border which is coming on TOP portion is because of the BOTTOM line which was printed on the just above that line. If You have to assign both TOP and BOTTOM borders to EACH cells in the table painter, than it will come into the print.

You can try to use the template instead of the borders in the Table painter.

Regards,

Naimesh Patel

4 REPLIES 4

naimesh_patel
Active Contributor
0 Kudos

The border which is coming on TOP portion is because of the BOTTOM line which was printed on the just above that line. If You have to assign both TOP and BOTTOM borders to EACH cells in the table painter, than it will come into the print.

You can try to use the template instead of the borders in the Table painter.

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi

you can declare condition before the main window in create code window and make a condition there .After that u can utilize that condition in Condition Tab of Main window whatever if u want suppress all things in the main window ...

if any doubts reply . if it works reward me .

thanks

suresh

0 Kudos

I'm not sure I understand - How do you work with the condition created before? What do you use it for?

Here is visual explanation of the error:

http://img131.imageshack.us/img131/8279/conditions1000rs2.jpg

Former Member
0 Kudos

Not a good way to do it,but you could create seperate tables one with lines and one without under condition node. If date exits ..condition true, table with lines is executed if condition is false.. the other table without lines will be printed.

I am sure there are better ways to get this done. If you have many loops & tables this may not be a good solution.

Pushpinder Randhawa