Thanks Dre for responding. I learn't it the hard way tha REPLACE ALL WHILE don't work <g>. For a solution I think that I may be messing up with the index somewhere down the line, becuase I have opened the file with the right index and yet REPLACE fails. Now I save the current order and set it to the required order and then REPLACE and reset the order everywhere.
>Hi,
>You haven't given match information within your question, but even so.
>SEEK searches the current indexed table/.DBF for the first occurrence of a record whose index key expression matches a general expression.
>I normally use LOCATE ,than I haven't any problems with indexation.
>When you use ALL in the REPLACE command ALL the records that match
>by your statement will be replaced!!
>Greetings,
>Dre.