Hi Todd,
Try this
FOR m.myvalue = 10 TO 11
m.myvar = [pcycle]+ALLTRIM(STR(m.myvalue))
REPLACE (m.myvar) WITH 1
NEXT
HTH
>I want to use a replace command where the REPLACE fieldname WITH 1 where the fieldname is a memory variable. I have 50 fields to replace base off of the information is 1 field.
>
>value in the fisrt field 10
>
>REPLACE pcycle10 with 1
>
>value is 11
>
>REPLACE pcycle11 with 1
>
>I need the pcycle11 to be a memory variable. I have been unsucessful so far.
>
>Thanks
>Todd
_______________________________________________________________
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