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:
00184978
Views:
21
>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

I am not sure of your question. The second sql statement looks find. Why are you using "&lcdate1" and not just "lcDate1" (same for the second date).
Previous
Reply
Map
View

Click here to load this message in the networking platform