>FOR numberofmonth = 1 to 12 > myvar = "month"+ALLTRIM(STR(numberofmonth))+"2004" > UPDATE (myvar) set name2="صالح",; > name3="احمد", name4="المحمود"; > where no=1231 >ENDFOR>
>>USE month12004 >>LOCATE FOR no =1231 >>replace nam2 WITH "صالح" >>replace nam3 WITH "احمد" >>replace nam4 WITH "المحمود" >> >>USE month22004 >>LOCATE FOR no =1231 >>replace nam2 WITH "صالح" >>replace nam3 WITH "احمد" >>replace nam4 WITH "المحمود" >> >>USE month32004 >>LOCATE FOR no =1231 >>replace nam2 WITH "صالح" >>replace nam3 WITH "احمد" >>replace nam4 WITH "المحمود" >> >>USE month42004 >>LOCATE FOR no =1231 >>replace nam2 WITH "صالح" >>replace nam3 WITH "احمد" >>replace nam4 WITH "المحمود" >>. >>. >>. >>USE month122004 >>LOCATE FOR no =1231 >>replace nam2 WITH "صالح" >>replace nam3 WITH "احمد" >>replace nam4 WITH "المحمود" >> >>>>thanks