Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql
Message
 
To
08/02/1999 01:20:44
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Sql
Miscellaneous
Thread ID:
00184976
Message ID:
00184979
Views:
32
>Hy
>
> It's my first sql question
>
>This is good
>SELECT *, .T. AS cFlag FROM hold WHERE !DELETED() INTO CURSOR tmpHold1
>?????????????
>But I want compare a field in the same select
>
>SELECT *, .T. AS cFlag FROM hold WHERE hold.data_prod >= &lcDate1;
> AND hold.data_prod <= &lcDate2;
> and !DELETED() INTO CURSOR tmpHold
>
>How can I do this
>
>Pierre P
>
>Thanks

Pierre --

If lcDate1 and lcDate2 are local variables, you don't need to use macro substitution (&).

Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform