Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming tables which are part of database
Message
De
25/11/2002 13:26:58
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00724370
Message ID:
00726562
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
> lcBuffer = strtran(m.lcBuffer,m.tcOldDBCName,m.tcNewDBCName)

Only one gotcha here - the dbc name in the backlink (which is basically what you're using here) must be null terminated. So:

lcBuffer = strtran(m.lcBuffer,m.tcOldDBCName+chr(0),m.tcNewDBCName+chr(0))

otherwise, you may get an error if the new name is shorter than the old one.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform