Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace at many tables
Message
 
To
10/02/2005 17:01:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00985784
Message ID:
00985806
Views:
26
Try This:
>
FOR numberofmonth = 1 to 12
     myvar = "month"+ALLTRIM(STR(numberofmonth))+"2004"
     USE (myvar)
     LOCATE FOR no =1231
     IF NOT EOF()
        replace nam2 WITH "something2"
        replace nam3 WITH "something3"
        replace nam4 WITH "something4"
     ENDIF
NEXT
>
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform