Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace for all records
Message
De
07/06/2005 05:31:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Replace for all records
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01020808
Message ID:
01020808
Vues:
65
hi all,
i have table with many fields,
evry item have 13 records,
i want to replace field still with 1 for the 13 records
i try as under,but the first part work ,
USE tab2
m.no=no
m.month1=month1
m.year1=year1
SCAN
IF amount1<=0 
     scan
         SET FILTER TO no==m.no
         replace still WITH 1
     ENDSCAN
endif

  IF   month1<MONTH(DATE()) and year1<=YEAR(DATE())
    scan
       SET FILTER TO no==m.no
       replace still WITH 1
   ENDSCAN
 ENDIF
SET FILTER TO 
thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform