David,
Thank you so much. I didn't think to use the Right Click to find the Rename
option.
It worked perfectly.
I tried with gendbc but I noticed that it also created a .TRK file which
contained in the code the original database name.
Anyway just for the story:
Suposing that the GENDBC's output is CONV.PRG and CONV.TRK, I renamed in the
CONV.PRG the OLD database name to the NEW database name but left the
CONV.TRK untouched.
Then Opened the database and Validated it and the stored procedures were
corrected.
Of course my new database had no data.
Thanks again.
Demetrios, Greece
Post by Demetrios PanayotakopoulosDemetrios,
BACKUP everything before doing this.
If the DBC is in a project collapse the Data section and close the project.
close data all
modi project TheProject
expand the Data section
expand the Database section
select the database to rename
rightclick and select rename
rename it
all of the tables will have their back pointer updated.
--
df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro
Post by Demetrios PanayotakopoulosIs it possible to rename a Database in VFP 6 ?