Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid linked to table as datasource showing record only i
Message
De
20/06/2003 10:57:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00801925
Message ID:
00802221
Vues:
21
Set filter the alias which the grid dispaly record.

Set filter to Command.

Aashish


>Is there any way to have a grid show records only when a certain field within the table linked to it matches a condition? I do not want to use sql or views, is there any simple way to do this with a regular grid object associated with a table?
>
>Kev
Aashish

You better believe in yourself... if you don't, who else will ?

Thanks Aashish,

The SET FILTER TO command worked well. I tried to filter within the grid itself before and it never worked right. Grids are a funky kinda animal to work with. I never thought about doing it at the table level. This method works very well also because it uses the rushmore technology if part of the expression in using a field that has an index associated with it, and it also evaluates the expression as the record pointer hits, not at load time, so it is very efficient to use.

Thanks Again
``` Appreciate a normal day, it is always better than a bad one ```

Kev
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform