Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting FROM/INTO same cursor
Message
De
05/08/2008 13:46:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01336417
Message ID:
01336629
Vues:
11
I updated my answer before your reply. Anyway, try this two liner
Select * From (lcFile) Into Cursor curDummy Readwrite Where activity="Passed - waiting for source" 
Select * From (lcFile) Inner Join curDummy On &lcFile..rma=curDummy.rma Into Cursor (lcFile) Readwrite
>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?
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform