Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting FROM/INTO same cursor
Message
 
 
To
05/08/2008 13:25:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01336417
Message ID:
01336624
Views:
15
You're missing the point that we don't know RMA. That was just a sample. We need to get all the records that have the same rma as the one with "Passing date"

Since Rich is using VFP8 the only way would be to do in two steps. In VFP9 syntax with derived tables work fine, but IN and EXISTS don't work.

>You've got it all wrong, your query will give the same result as Sergey's. This query will give the data you want:
>SELECT * FROM (lcReturn) ;
>  WHERE RMA=3  AND EMPTY(date_end) ;
>  INTO CURSOR (lcReturn)
>Or am I missing something?
>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform