Check out the Set key to command. You could probably make it OOP-like by creating a custom property to hold the key value, and a method to set the key.
>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
kenweber
GCom2 Solutions
Microsoft Certified Professional