Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do we 'Browse Key...' in grids?
Message
De
23/08/1998 21:37:20
 
 
À
23/08/1998 09:18:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00129127
Message ID:
00129180
Vues:
25
I suggest to use:

Set Key to Range 'StartRange', 'EndRange'

or:

Set Filter to KeyField > 'StartRange' .And. KeyField < 'EndRange'
but you need to reset the above setting when leave Form!

Another suggestion is to make a R/w cursor, alter the Temp DBF() and
add an Update Trigger to corresponding update the Original Table!
but it will become a big task! >:0

Finally, try to download my bwtable.zip in file section and take a look some
code!

I did similar thing but Set Field to on Selecting needed Field in show!
It will certainly give an idea to you! (currently, it has some bugs on it...)
+_+'



>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
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform