Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do we 'Browse Key...' in grids?
Message
 
To
23/08/1998 09:18:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00129127
Message ID:
00129187
Views:
23
>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,

You can;

SET FILTER TO ...

SET KEY TO ...

SELECT * FROM TableA WHERE Key = ... INTO CURSOR Results

Create a parameterized view in a databse and then;

ParameterVariable = KeyValue
USE TheView

Or a number of other options.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform