Subject Re: converting tables back from level 7 to 5
From Mervyn Bick <invalid@invalid.invalid>
Date Sun, 12 Sep 2021 11:42:27 +0200
Newsgroups dbase.getting-started

On 2021/09/10 11:12, Mervyn Bick wrote:

> I haven't actually tried this but if you rename cretable.txt
> cretable.prg you should be able hto execute it to recreate all the
> tables.  Run this in a new folder. Do NOT run it in the folder with your
> original tables as there is code to delete each table if it exists. Mind
> you, this could be an option if you have a full backup tucked away safely.

Duh! My memory definitely isn't what it was. :-(

You can't run the program in the same folder as the original tables
unless you first delete the original tales.  The code doesn't delete
tables.  It is written so that the new tables are only created if the
original table doesn't exist.  That way there is no danger of
overwriting the original table.

Another duh!  There is no need to rename cretable.txt to be able to run
it. "DO" will execute any executable file.  If an extension is not given
it looks for the default .prg. If an extension is given it executes the
file.  DO cretable.txt in your new level 5 folder should create the tables.