Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find code from 10 fields
Message
De
08/08/2006 04:26:32
 
 
À
08/08/2006 04:18:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01143440
Message ID:
01143716
Vues:
12
>Try the code I sent you!
>
>Dear Sir,
>In previous questin the field names are as field1, field2 and so on to field10
>
>But in this question the field names are diffrent as seed_code,fruit_code,veg_code etc
>
>Please help again

Sorry, I did not notice.
Select table1
lnMax=AFIELDS(temp)
Scan
  FOR x=1 TO lnMax
    if eval(temp(x,1))=1301002
      replace (temp(x,1)) with 1501002
    endif
  endfor
Endscan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform