Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to rename a Database
Message
From
24/07/1999 12:19:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00245701
Message ID:
00245729
Views:
15
>I have a database set up with a few tables in it. I want to change just the database name (i.e. .dbc name and alias name)
>All ny table names are ok. Can this be done easily ?
>
>Regards,
>Gerard
Gerard,
Each table has a backlink info in its header pointing to its database. If you rename the database then tables wouldn't be able to get backlink. It starts at offset header record terminator + 1 and 263 bytes.
If you rename database then either change backlink info lowlevel or open tables one by one. It will ask for you to locate its database, point to new dbc.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform