Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble importing field from Excel
Message
De
08/09/2003 09:51:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00827019
Message ID:
00827062
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform