Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace for all records
Message
From
07/06/2005 05:31:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Replace for all records
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01020808
Message ID:
01020808
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform