‎2008 Oct 31 10:00 AM
Hi,
i have one main window. And below to that main window i have one variable window. Both are Static. Now, i want the winndow dimensions for the varaible window dynamically. for Example, if the main window contains one record then upper margin for the variable window is 6 cm left margin 2 cm width 5 cm height 4cm.
if the main window contains 2 records then upper margin for the variable window is 7 cml eft margin 2 cm width 5 cm height 4cm. like that...
is it possible?
‎2008 Oct 31 10:06 AM
Hi suppose u want two windows A and B to be printed based on some case.
If case 1 is true the print window A , if case 2 is true then print window B.
Now from printprogram send a variable that will contain the no of records that are going to be printed in the smartform mainwindow.Say it is wf_no
Now in the windows A and B you give your required conditions
Like in window A in condition tab give wf_no < 2
in window A in condition tab give wf_no > 2 .
Hope this is wat u need..and hope this helps you out.
‎2008 Oct 31 10:06 AM
Hi suppose u want two windows A and B to be printed based on some case.
If case 1 is true the print window A , if case 2 is true then print window B.
Now from printprogram send a variable that will contain the no of records that are going to be printed in the smartform mainwindow.Say it is wf_no
Now in the windows A and B you give your required conditions
Like in window A in condition tab give wf_no < 2
in window A in condition tab give wf_no > 2 .
Hope this is wat u need..and hope this helps you out.