Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace
Message
De
31/12/2005 08:27:36
 
 
À
31/12/2005 08:10:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01082237
Message ID:
01082249
Vues:
10
hi all,
it works as under ,
scan
SELECT aa2005.no,aa2005.salar,thred2.no,thred2.salar FROM aa2005,thred2 WHERE aa2005.no=thred2.no;
into cursor curdummy nofilter
replace thred2.salar WITH curdummy.salar_a FOR thred2.no=curdummy.no_a
endscan
skip
>hi,
>i try as under i got one field replacment only, any idea
>
>SELECT aa2005.no,aa2005.salar,thred2.no,thred2.salar FROM aa2005,thred2 WHERE aa2005.no=thred2.no
>scan
>replace thred2.salar WITH salar_a FOR thred2.no=aa2005.no
>endscan
>
>thanks
>>hi all,
>>any idea help.
>>i try to replace field with another filed where field1=field2
>>as under but something rong.
>>
>>close all
>>use thred2 in 0
>>index on no to kk
>>use aa2005 in 0
>>index on no to kk1
>>scan
>>replace thred2.salar with aa2005.salar for aa2005.no=thred2.no
>>endscan
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform