Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the order of fields in a table programatically
Message
From
04/02/2004 11:35:26
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00873959
Message ID:
00873973
Views:
13
Hi Bradley.

>Hello. I've been using the alter table statement to add a column to a table in visual foxpro 6.0. The new column is being added to the end of the table. Instead of changing the order the fields appear in the table through table designer, is it possible to change the field order programmatically?

The only way you can do this is to create a new table with the desired structure, APPEND FROM the old table, then delete the old table and rename the new one.

If you're interested, Stonefield Database Toolkit can do this for you without you having to write any code or worry about all the steps necessary. For more information, see www.stonefield.com.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform