Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND From FOR clause ignored in VFP6
Message
De
06/09/2002 15:04:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00697671
Message ID:
00697711
Vues:
14
>>Don't specify alias if you want VFP to check every record.
APPEND FROM utemp For (SubStr(Submitter,1,1)="E")
>>
>>>SELECT estate
>>>zap
>>>APPEND FROM utemp For (SubStr(utemp.Submitter,1,1)="E")
>>>go bottom
>>>wait window estate.submitter
>>>
>>>Why would I get all records from UTEMP? I specified 'E' as first letter of first field!
>>>
>>>TIA
>
>So -
>.snip from Jim Nelson.
>APPEND FROM Source FOR Source.lArchive
>the lArchive field is evaluated only for the current record of the source, not for each one in turn. So either all records or no records are copied.
>.endsnip.
>- the inclusion of a Source acts as 'constant logical' for the entire dataset based on the current record...
>I don't know that I would ever need that!
>
But don't overlook the extracted portion above you snipped piece - that the field has to be in the output.

cheers

>thanx to all
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform