Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box and a grid ???
Message
De
01/09/1998 20:42:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00131845
Message ID:
00132156
Vues:
16
>vfp 3.0 win 95
>
>I am working with a textbox and grid to browse
>records. I have set near on in the textbox. When
>I browse records, the selected records show up in
>grid about the third record from the top of grid.
>
>I would like the selected record to show up as the
>first record in the grid, how can I do this?
>
>Thanks and have a good day!
>
>Becky

This may not be what you want - but worth a try - set a relationship from a dummy table to the grid. Put the contents of the textbox into a field in the dummy table and refresh the grid.
something along the lines of...
CREATE CURSOR Dummy (MyText C(10))
APPEND BLANK
SET RELATION TO MyText INTO GridTable ADDITIVE
Now bind the textbox to "Dummy.MyText" and refresh the grid on InteractiveChange() or whatever suites yuo
HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform