Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import from MS-Excel: Column DV missing!?!
Message
From
14/04/2011 07:31:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/04/2011 02:03:18
Jill Derickson
Software Specialties
Saipan, CNMI
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01507098
Message ID:
01507273
Views:
48
>Hi, I am using the IMPORT FROM command to read in an Office 2007 MS-Excel file, so field names are A, B, ....Z, AA, AB, ...AZ, BA, BB, etc..
>
>I have to handle files defined as:
> Columns A - M: standard information
> Columns N - R: information about charge 1
> Columns S - W: information about charge 2
> Columns X - AB: information about charge 3
> etc.
>
>In other words, past column M, information is in groups of 5 columns.
>
>NOOOO problem, i thought. I have code that calculates the column name.
>
>BUT lo and behold! what column follows DU??? NO, NOT DV, but DW!
>
>What is going on here? any ideas? this is def. breaking my code.
>
>Any input is appreciated.
>
>Guess i have to change the code to using AFields()?

Jill,
I think column DV is hidden. VFP import wouldn't work wit excel 2007 and later anyway I suggest you to use ADO instead. Check this for a sample:

http://www.foxite.com/archives/0000153776.htm

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform