Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set filter
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00520806
Message ID:
00520833
Views:
13
>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."
Previous
Reply
Map
View

Click here to load this message in the networking platform