browse

I am trying to get an ADM2 Smart Browse to function how I would expect/hope. I have a background using the origional, ADM(1) which functions much differently. ADM2 uses buffers and temp-tables much more, which means as a developer I need to do much more of the work. All I am trying to do is when mouse-db-click on a row in the browse be able to refer to that record ie put that record into the buffer. I tried using this code to no avail " DEFINE VARIABLE row_i AS INTEGER NO-UNDO.
row_i = {&BROWSE-NAME}:FOCUSED-ROW. /* find out the highlighted row */
{&BROWSE-NAME}:FETCH-SELECTED-ROW(row_i)." What am I doing wrong? What should I be doing? Cheers
 

BONO

Member
hello ,
Have u tried GET CURRENT <browse name> NO-LOCK after u're fetch ?.
I'm using it even in ADM1 to get the value of all the selected row of a browse
 
Top