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