>I'm having difficulty getting the activatecell() to position on the correct row/col of a grid. The help facility does not offer much on this topic.
>
>For example, thisform.grid.activatecell(RECNO(),5) does not reposition to col#5 unless RECNO() is within the number of rows in the grid (16).
>
>There is no index active on the table.
>
>Any help is appreciated
>
>-Dana Daugherty
Dana,
ActivateCell row,col refers to row,col positions in visible part. ie: if the leftmost column is actual 3rd field and visible records are 23,24,25 then activatecell(1,1) activates rec 23, 3rd field. IOW row,col are relativerow and col. Go recno you want, refresh and setfocus to columns(5) (Columns might be rearranged so better use name). This is easier then getting the record in visible part and calculating position for activatecell.
Cetin