Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming tables which are part of database
Message
 
 
À
21/11/2002 18:19:53
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00724370
Message ID:
00725605
Vues:
21
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform