Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import
Message
From
10/05/2004 07:51:14
 
 
To
10/05/2004 07:45:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Import
Miscellaneous
Thread ID:
00902376
Message ID:
00902378
Views:
10
>I have a table and need to populate it with data from an xls document. Any one know how to do it ?
>I can modify the data from foxpro but I would like to import them from an xls...it's more easy this way


Adrian:

Depending on the format and type of data, number of records, need for manipulation and speed, you may decide from several choices:
IMPORT FROM FileName TYPE XL5 [SHEET cSheetName] | XL8 [SHEET cSheetName] [AS nCodePage]
or you could use automation to control Excel, then save as DBF or save as comma-delimited (CSV) then import into VFP.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform