There's no equivalent of BROWSE KEY in a grid. Filters aren't optimized in grids so that's not even a decent alternative. You should probably used a parameterized view or a SQL SELECT if you don't need to modify the records in the grid.
>All the advice is now consistent. Don't use Browse, use Grids instead. Fine, but...
>
>...how do we apply the equivalent of a 'browse key' command in a grid. This is one of the most useful features of the browse command as, if data is indexed on the key, it is thousands of times faster browsing to a key than setting up a filter. But I can't see any 'key' property or method through which to assign the key value to the grid...
>
>Anyone got an answer?
>
>Harry