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!

Import Title of column from MS EXCEL

Status
Not open for further replies.

Mistral2

Technical User
Nov 12, 2002
21
TN

When I import from MS EXCEL to foxpro:

IMPORT FROM MyFile.XLS TYPE XL8 SHEET " SHEET1 "

I get MyFile.dbf where the fields are called (a,b,c etc....) instead of the name of the columns of my MyFile.XLS.

Thank you


 
Ask your question in forum1251.

The short answer is that you can read the values imported in row 1 and use ALTER TABLE DBF() RENAME COLUMN A to XXX.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top