i try this code it works ,this part not work (no replace)REPLACE, like many commands, is scoped to the currently selected work area. If the table open in the currently selected work area is at EOF(), no replace takes place. The solution is to use the IN clause in the REPLACE command like this:
REPLACE MyField WITH MyValue IN MyAlias