Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble importing field from Excel
Message
From
08/09/2003 09:51:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00827019
Message ID:
00827062
Views:
14
>We get the spreadsheet data from an external source. We don't normally check the formats during the import. The file is received and then imported. It worked correctly for a few weeks, but recently we had a problem. When I stepped through it using the debugger, I noticed the value 1015617 was seen as 08/29/468. I was just trying to set a variable to the value in the spreadsheet.
>
>In Excel, the field displays as 1015617 and I just checked the Format Cells area to see that the field is now formatted as a number. Why would VFP try to import this as a date? In the debugger, I get a 'U' for the type value?
>
>Any ideas?
>thanks, Doug

I don't know. I never use import. Instead I save the file as type dbaseIII from excel (either via automation or manually) and open saved dbf.
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