Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status working By log Manager
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00352333
Message ID:
00352490
Views:
23
Hi,
Where do you have your SELECT statement? You can change the SELECT statement to use a variable in the WHERE clause:

MyFilter = "Status = 'Working' "

Select .... where &MyFilter .......

Then pass the variable to wherever you run the SELECT statement.

HTH
Barbara

>Hi:
>
> I have just created a report using Report designer. Now I only want to select only WORKING instead of PLANNING in status field of the report.
>
>SELECT
> Lispm ,;
> status ,;
> Start ,;
> Comp ,;
> Ssp ,;
> Msr ,;
> Avail ,;
> Ship ,;
> Hull ,;
> Chgs ;
>FROM Schd ;
>WHERE Status = "Working" ;
>ORDER By 1 ;
>INTO CURSOR Output
>
>1. Where shall I hard code this logic.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform