Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change field name everywhere in the database
Message
From
02/07/2001 09:08:14
 
 
To
02/07/2001 08:59:46
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00525832
Message ID:
00525843
Views:
12
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform