This topic is locked

get value of group in report print page

2/29/2008 1:47:26 AM
PHPRunner General questions
A
amuro author

Hi, support
First, I set pagesize equals 1, means one group one page.
When the report page is printed on print page, I want to get the group value.

Because I want to modify records with the specific group value.

For example, group column = "anpno", I want to get the anpno value at every print page.
Please tell me which variable I can get in event and which event I can modify records?
Thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=7733&image=1&table=forumtopics' class='bbc_emoticon' alt=':rolleyes:' />

J
Jane 2/29/2008

Hi,
not sure that I understand you correctly.

Group value is always printed on the every print page.
Please clarify what you what to modify and display.

A
amuro author 2/29/2008

Hi, Jane
Thanks for you reply so soon.
The report is grouped by column, anpno from table armanph.

Users can see and edit their own data of armanph if the record status is un-printed.

When user select print one of specific record, the status has to be changed into printed that means they can't edit it again.
So, the $_SESSION["pagesize"] of the generated report page is set into 1, that means one group one report page.
I don't know when and where to change the status of record if user prints report page.
Thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=26526&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />

J
Jane 3/3/2008

Hi,
use Print page: Before SQL query event for this purpose.