Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Excel Time Value
Message
De
20/02/2001 15:11:36
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
14/02/2001 10:41:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00475732
Message ID:
00477742
Vues:
44
Chris,

I assume you're using something like: lo_Excel.Cells( 1, 1 ).VALUE. If so, try: lo_Excel.Cells( 1, 1 ).TEXT.

HTH,
Jonathan

>I am trying to read an Excel field formatted as a Time into Visual FoxPro 6.0 SP4. When I read the value I get the numerical equivalent of the time.
>If I try to change the format on the Excel field to Text in Excel, it converts it to a number.
>
>Does anyone know a way I can read this field into foxpro as a character string?
>
>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform