How to get the values from List page

Hi,

How to get the selected value from list page from dynamics nav 2013r2.

I have used runmodal() function to open the list page but when I double click on row it is not selected like in NAV 2009r2.

can any body suggest on this.

Thanks

Only calling FORM.RUNMODAL will not return anything.

You have to state “IF PAGE.RUNMODAL(0, ) IN [ACTION::OK, ACTION::LOOKUPOK] THEN …”.
Now the selected record is in .