>jeez...worked for years ith replace, and first time i encouters this. but what's in a name : for me it stays a bug, wether it's known or not.
>
>
>thanks.
Vincent,
It is NOT a bug. REPLACE is a scoped command and its default scope is NEXT 1 record IN THE CURRENT WORK AREA. If there is no next 1 record in the current work area then there is nothing for replace to do. You can deal with this by;
1) Selecting the owrk area you are replaceing in before you replace
2) Use the IN clause to point the replace to a different work area REPLACE ... IN OtherArea
3) Use INSERT or UPDATE commands instead of replace