>I want to get values from the active row of a grid. First I wanted to
>get the active row with Grid.ActiveRow, but alike in which row I click
>before the command MESSAGEBOX (STR(THISFORM.gridname.ActiveRow)) returns always 0. Is this a bug or a feature?
As Edward pointed out, grids only have an activerow when they have focus. Instead of trying to get values from grid column, you should just getthe value from the cursor that the grid is based on. The active row is the current record. So instead of grid.column1.txt1.value, just use MyTable.MyField.
Erik Moore
Clientelligence