Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re: Display a subset of records on a Grid
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Display a subset of records on a Grid
Divers
Thread ID:
00764630
Message ID:
00764630
Vues:
49
Thanks Jim,

I chose the second option since I would like to edit the content of my table. However, for example when I press a button which includes following codes:

Select mytable
set filter to myfield == 3
locate

It is supposed to show only one record in the “Grid” (because I have only one record with this condition in my table. But it shows six identical 3s.

Note that I have six records in that table
Reccount() == 6

Does anybody knows why?

>Hi Everybody,
>
>I have Grid object with:
>RecordSourceType=Table
>How can I display a subset of records with specified condition in the Grid?
>
>Thank you,
>Ali

Ali,


SELECT * FROM Table WHERE INTO CURSOR GridSource

Or

SELECT Table
SET FILTER TO
LOCATE && Puts the filter into effect

and I am sure there are others.
JimB
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform