browser

I am using a browse to display rows of products which need to be printed.

When I click a row twice I open a window which lets me change the amount of print copies for each individual product. After closing the input window I update the browse and the new quantity is displayed. My problem is that if I just update the browse the programm springs back to the first row. I tried to solve this by getting the rowid and returning to the row id but this causes the browse to position the row at the top the browse meaining I have to scroll upwards to see all previous rows. Any Ideas how I can simply make a change in the browse and retain the browses original position?
 

svelkov

New Member
browse

Hi Andrew,

If you just update record you need not open the browse.
Try with this:
IF browse {&BROWSE-NAME} in frame {&FRAME-NAME} THEN
{&BROWSE-NAME}:REFRESH().

Hope this helps.
 

jongpau

Member
Hi Andrew,

You can programatically set the row number in which a repositioned row is displayed with the SET-REPOSITIONED-ROW method, e.g.:
Code:
BROWSE {&BROWSE-NAME}:SET-REPOSITIONED-ROW(5,"CONDITIONAL":U).
See your progress doc for more info on this method.

HTH
 
Top