Application Development and Automation 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: 
Read only

script

Former Member
0 Likes
648

hi

help me in this issue

how to control the flow of records in main window

i need to restrict to some 3 to 4 records.

how can i do it.how to use new-page command

thanks in advance.

kiran kumar.

Message was edited by: kiran kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
619

Hi Kiran,

Definy one variable to count the records in the script using the 'DEFINY' commnand. And when this count reaches the counter the call the new page using NEW-PAGE command.

I hope you know how to use the script commant.

Regards,

Satya.

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
619

Hi,

use the commands..

/: protect

-


-


/: Endprotect.

Regards,

nagaraj

Read only

Former Member
0 Likes
620

Hi Kiran,

Definy one variable to count the records in the script using the 'DEFINY' commnand. And when this count reaches the counter the call the new page using NEW-PAGE command.

I hope you know how to use the script commant.

Regards,

Satya.

Read only

0 Likes
619

hi satya,

how to define and newpage

just keeping /: new-page it will lead to second page

thanks in advacne

kiran kumar

Read only

0 Likes
619

Hi Kiran,

What is ur requirment, yes the new-page will leads to the second page and printing of the records continues from the next record. here you need to clear the count variable so that after next 4 records the another page will be trigged.

Regards,

Satya

Read only

Former Member
0 Likes
619

if you want to show only 3 or 4 records do it in your select statement

select * from sflight up to 4 rows.

or if you want to show 3-4 records in each page, define a counter when your counter reach the target call new-page