Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text1.InteractiveChange Lookup In Table
Message
De
25/02/1998 11:17:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/02/1998 10:43:53
Jeff Tucker
Mackinac Center For Public Policy
Midland, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00081082
Message ID:
00081099
Vues:
27
>I want to be able to type in a text box and as I type dynamically update the contents of a grid to bring me closer to the record for which I am searching.
>
>I have tried the following and it is not working. I have a textbox, a dropdown list box, and a grid populated by a view.
>
>The dropdown list box indexes and orders the view.
>
>Then in the textbox.InteractiveChange event I have the following code:
>
>SEEK this.value
>thisform.refresh
>
>
>After running the form I begin to type in the textbox. It appears that the pointer is being moved to appropriate records but the grid's verticle scroll bar tab shoots to the bottom, and "shakes" every time I type another letter.
>
>When I press another page on my page frame they are empty. If I click in the grid, the whole form successfully updates to reflect that the pointer has been moved to the record I clicked.
>
>Any help would be great.

Does seek really find a record ? You might need to use something like =seek(trim(this.value),myTable,myIndex).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform