Del,
Thank you. For my purposes you suggestion seems to work. In case you are curious, my purposes are to modify the structure of an FPDos file that has a CP of zero while leaving it with a CP of zero. This is necesary because a field contains encrypted data, so changing CP would mess things up. Thank you.
Alex
>>>to avoid calling cpzero unnecesarily, and at the same time avoid the dialog appearing to user.
>
>You can prevent the dialog with
>
>
>
>SET CPDIALOG OFF
>
>
>
>Del