ActiveRow returns zero if the grid doesn't have the focus or when you access a row outside the grid display.
but try to access ActiveRow inside the grid.
here is an exemple :
put this code snipet
thisform.text1.value = thisform.mygrid.ActiveRow
in
mygrid.column1.text1.click()
it works...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.