Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Reporting tools (GRW, GRE)
>
Batch Report - Problem to arrange the report structure
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Batch Report - Problem to arrange the report structure (Read 20571 times)
Asnidzal M.
Posts: 28
Batch Report - Problem to arrange the report structure
«
on:
September 08, 2012, 05:11:47 pm »
Hi,
I need some help regarding how to arrange the report structure. I writing a program to print the new university transcript using GST 2.32. The problem is i don't know how to arrange the report structure so that it will print properly a batch of students ... in this case ...the second student data and above, because now the report will print the transcript with same student data (the first student data) at student profile(page header) even though the details(subject code, cgpa,gpa etc.) will print correctly but all pages will print the same page header. I try to move the page header inside one of the group (GROUP nopel_tt), but error
C:/temp/Transkrip2012-Program/transkrip.4rp:Page Header, port:error:(GS-18064) MINIPAGE: all nodes attached to named ports must be specified prior to specifying any nodes for the primary port
will occur during the print process ...
Hope someone will guide me to solve this problem..
Thanks ...
cthtranskrip.4gl
(9.63 KB - downloaded 1370 times.)
transkrip.4rp
(17.4 KB - downloaded 1411 times.)
Asnidzal M.
Posts: 28
Re: Batch Report - Problem to arrange the report structure
«
Reply #1 on:
September 08, 2012, 05:19:44 pm »
here is the report structure ...
reportstructure1.png
(8.32 KB, 303x276 - viewed 2583 times.)
Alex G.
Posts: 155
Re: Batch Report - Problem to arrange the report structure
«
Reply #2 on:
September 10, 2012, 08:55:01 am »
Page headers and footers need to be declared before shipping any data for the body. Violating this rule leads to the error that you have described. I am not sure that I completely understood the problem but if the it is something like "I would like every student to start on a new page" than you should add students to your "ORDER EXTERNAL" and put the page root in that trigger. Find attached a modified version of your report that will start new pages for every "nopel_tt".
transkrip.4rp
(17.58 KB - downloaded 1366 times.)
Asnidzal M.
Posts: 28
Re: Batch Report - Problem to arrange the report structure
«
Reply #3 on:
September 10, 2012, 04:16:08 pm »
Hi Alex,
thanks for your help. It's solved.
Anderson P.
Posts: 82
Re: Batch Report - Problem to arrange the report structure
«
Reply #4 on:
February 20, 2014, 06:24:49 pm »
Just for curiosity, why do i need to declare the footer before body?
The report preview looks a bit odd with the footer right after the header and then the body.
Alex G.
Posts: 155
Re: Batch Report - Problem to arrange the report structure
«
Reply #5 on:
February 20, 2014, 06:34:51 pm »
Hi,
>Just for curiosity, why do i need to declare the footer before body?
because the engine needs to know how much space to allocate for the footer before reading the data for the body of the page. If the footer would be shipped after thousands of rows of data then we would have to temporarily store all that data before we could format the first page.
>The report preview looks a bit odd with the footer right after the header and then the body.
Since version 2.50 the footer is displayed at the bottom of the document view.
Regards,
Alex
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...