How to Add Fields to a Table in Visual FoxPro Programmatically
Article ID: 139158
Article Last Modified on 2/11/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q139158
SUMMARY
In previous versions of FoxPro, the only way to alter the structure of a
table programmatically was to create a new table that contained the new
structure and then append the data from the old table.
Visual FoxPro now includes the ALTER TABLE command, which allows you to
alter the structure of an existing table programmatically. This article
shows by example how to add a field to an existing table.
Additional query words: VFoxWin
Keywords: kbcode KB139158