Subject Re: DBase IV Commands
From Marilyn Price <marilyn@mpreflections.com>
Date Sat, 21 May 2016 11:15:28 -0600
Newsgroups dbase.getting-started

On 5/21/2016 10:55 AM, Marilyn Price wrote:
>
> Actually, Ken, it's a little more complicated than that, as dBase IV
> didn't have any alter table commands.
>
> In a program:
> use oldtable
> copy to temp sdf
> copy structure to <some new name>
> use <some new name>
> locate for fieldname = "oldfieldname"
> replace fieldname with "newfieldname"

create newtable from <some new name)
use newtable

> append from temp sdf
>
> Should do it. However, this is strictly from memory as I no longer have
> dBase IV installed and haven't had for over a decade....
>

Just realized I left out two commands.  See above
--
Marilyn Price
www.mpreflections.com