Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Rename a table fieldname from code ?

Status
Not open for further replies.

6kleg

IS-IT--Management
Dec 21, 2004
24
US
Can anyone tell me what is the correct methods or actions to use to permanently change the name of a table field from code?
 
Hi 6kleg,

I use the "Microsoft ADO extension for DDL and security" in a VB app to add/remove/rename fields and tables in code when I release a new version of our application.

Do a search in google for ADOX and you should find some example code - I'd include mine but it'd be huge and I'd have to comment it ;)

Heres a link that discusses it and has links to downloads etc.

Hope this helps

Sindo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top