Datawindow: How to scroll to a specific page

1
0
-1

When a datawindow is in preview mode, is there any way to scroll to a specific page or at least find the first row for a specific page? For example, I have a 200 pages report displayed and the user need to scroll to a specific page without using the scroll bar.

Thanks

Question Tags: 

Answers

LUIS BECERRA answered Datawindow: How to scroll to a specific page

1
+1
-1

 

You can calc the number of rows per page, with the function height() in the dw and the row.

Example:

li_dw_height =   dw.height

 

The height of the row :

 

li_row_height = integer(dw_maestro.Describe("row_name.Height"))

 

then you can calc the number of rows per page.

 

take in mind if you have header in your dw.

 

Scroll  with the function  scrolltorow(row)  to each page.

 

lbl.