Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong here?
Message
De
09/06/1999 09:46:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
08/06/1999 14:42:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00227589
Message ID:
00227853
Vues:
28
>Let's try for the simpliest answer first: have you checked that there are really at least one record in Workpo that have Code = "1"?
>
>>SELECT workpo
>>*blah blah blah
>>SELECT histpo
>>APPEND FROM workpo FOR workpo.code = "1"
>>
>>then I look in histpo, there is nothing...

APPEND FROM workpo FOR code = "1"

When Fox evaluates the conditions in an Append From statements, it first appends the record, and then checks it's validity, and then discards it or keeps it. Using the alias of the source table actually confuses it - you don't know which record it thinks about (i.e. what's the current record in WorkPO that the filter applies to).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform