Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Network:
Windows 2003 Server
>I have a form namely Search .Scx, In that i have placed one text box namely txtseach and one grid control. Further i have a table namely phone.dbf . The record source of the grid is Phone.dbf.
>
>I want the list of records in the grid to be filtered based on what I have typed in txtsearch box.
>
>How to do this?
if the grid is table bound, "set filter" to the alias.
If you are using cursors via cursoradapter, adapt whereclause to include a filterexpression and requery. No grid unbinding in this case, IMO best technique.
If you are using safe select technique for grids, fill your gridcursor again based on new filter.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement