Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange date formatting
Message
De
10/09/2008 06:38:42
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
09/09/2008 19:31:51
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01346235
Message ID:
01346277
Vues:
32
Hi Folks,

Thanks to all who replied. All the suggested solutions worked, but I stumbled across a simpler solution, just place the formatting command before the cell is filled, ie.

oWorkSheet.Cells(lnRow,5).NumberFormat = 'dd/mm/yy'
oWorkSheet.Cells(lnRow,5).value = MyDateField

Strange, but it works!

Thanks,
Alan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform