Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change field name everywhere in the database
Message
 
 
À
02/07/2001 08:59:46
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00525832
Message ID:
00525843
Vues:
13
Hi!

VFP have its own tool called GENDBC. Create the PRG file using it, edit that PRG file to change field names by built in VFP editor Find and Replace functionality in the code editor, then run PRG to re-create the database and all its files again. This way is reliable, but you have to copy data from old database to new database in case you already have valuable data in database. You can, of course, strip out only required parts from the PRG generated by GENDBC, delete required objects and then create them again by running PRG only with these parts, this way you will have less data to copy.

HTH.

>HI,
>I need to make some changes of some fields name to match business rules and to clarify their use. I find tedious to open tables and re-create views one by one in order to apply the field name change. Is there a way ab=nd/or utility that wolud help me to accomplish the task in an easier way ? Also, is there a possibility to extend the process to forms ?
>
>Thank you for your help,
>Christian Cote
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform