That's what COPY TO does. It just makes a copy of the old file with no regard for anything the new file may have in it.
Use APPEND FROM or SCAN...ENDSCAN as I mentioned in an earlier post.
>Hi Ernie:
>
>I tried using this command shown below, but it wipes out all of my new fields in the record layout of D:\Newschd\Schd.dbf which was added.
>
>Use D:\Schedule\Schd.dbf
>COPY TO D:\Newschd\Schd.dbf WITH PRODUCTION
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao