Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming tables which are part of database
Message
 
 
To
21/11/2002 18:19:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00724370
Message ID:
00725605
Views:
20
>>Copying files is a long process, if files are huge. I liked Franco's hacking idea. Besides, it seems to work well.
>
>Keep in mind there be dragons in the properties memo of dbc records - lots of kinky binaries. While you may be just lucky, it could happen that (depending on your settings) some CRs get replaced with CRLFs etc... so I'd rather go for StrTran(properties, lcOldTableName, lcNewTableName).

Right, that is what we will do. Moreover, changing database name is even more challenging process. I had Sergey's program GetDBCName by low-level functions, so I changed it and now we can change database name by using a little bit of "hacking". I'll publish the program tomorrow, if you want.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform