‎2014 Jan 23 1:20 PM
Hi there experts!
I'm having some troubles trying to display a table content after the header of my SmartForm.
Situation is as follows:
> I've got one secondary window with a template working as a header. It's got some employee information that must be displayed in every page.
> Then there is the main window with some tables inside it.
At the end of the first page, 1st table has displayed all of its content and the 2nd table begins its header and content.
When it reaches de 2nd page of the form, the header is displayed again, correctly, but the rest of the content of the 2nd table is displayed at the same position the header is displayed, overlapping the content of the header.
Is there a way for me to configure the table to display the content AFTER the header, or anything like it?
Thanks a lot!
Lauro
‎2014 Jan 23 1:36 PM
Hi Lauro
I could not understand you completely one small question why have you created a second window..The table header in Main window will work i believe. Can you please attach some screen shots highlighting the same.
Nabheet
‎2014 Jan 23 1:48 PM
Hi nabheet!
Thanks for answering!
The secondary window works as a 'subwindow', displayed before the main window so that the form header can be displayed.
I'm using it because I don't want the table header as form header. They are separate things. It works like this:
Form header is TEMPLATE1 with employee data.
The first page is displayed, with TEMPLATE1 correctly as header; The TABE2 content is displayed, and the content of TABLE3 begins reaching the end of the first page.
The second page begins, TEMPLATE1 correctly as header, and the rest of TABLE2 information is not displayed after header, it is in the beginning of the page as well, overlapping the content of the header, which is the problem.
‎2014 Jan 23 1:59 PM
Why do you need the Secondary window to be overlapped with Main window...any particular reason..?Can you keep it so that it should not overlap as it is going to get displayed on each page... Main window should be beneath Secondary window.
Nabheet
‎2014 Jan 23 3:09 PM
Well, I agree with you...should be, but it isn't.. the main window isn't getting displayed beneath the secondary window. I don't know why because the first page is ok.
The table content in the second page starts at the same position of the header, in order words, the order of the objects in the form is not being respected...
‎2014 Jan 23 4:57 PM
Hi lauro,
The window which gets over lapped,go to the output options tab there are checkboxes to display window content onto a new page if the current pages are full....try checking those check boxes.
Regards,
‎2014 Jan 23 5:12 PM
What is the position of main and secondary window on second page is it same as first???
‎2014 Jan 23 5:47 PM
They are printed simultaneously (header and table content) at the beginning of the second page, overlapping each other, as below:
‎2014 Jan 23 6:01 PM
Thats is fine but in smartform layout of second page is the left and upper margin, height and width etc same as first page??
‎2014 Jan 23 7:03 PM
Guys, problem solved. My mistake.
I was putting an empty template with 33 mm height to give space between header and table contents - but that would work only in the 1st page - don't exactly know why. In addition, the windows in Form Painter were overlapped.
To solve the issue, I just resized the height of the Main Window in the Form Painter, so that it would start after the header contents and avoid overlapping its borders - for that I kept resizing and testing the form until the contents were right beneath the header contents.