Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00520806
Message ID:
00520833
Vues:
14
>I have a table with a field called week_day
> In a form I have a grid and a cursor
>
> Is the syntax below correct ?
>
SET FILTER TO week_day = 'Monday'
or
DO CASE
CASE answer = 1
   cFilter = "week_day = 'Monday'"
CASE answer = 2
   cFilter = "week_day = 'Tuesday'"
CASE answer - 3
   cFilter = "week_day = 'Wednesday'"
ENDCASE
SET FILTER TO (cFilter)
>
> It's supposed to show a grid with only records containing
> monday.
>
>
> Also
>
> How can I cancel the filter so that all
>records are showed in the grid
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform