Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPCOM.DLL and DateTime data types
Message
De
04/08/2000 09:30:12
Lynn Miller
Interactive Financial Solutions
Toledo, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
VFPCOM.DLL and DateTime data types
Divers
Thread ID:
00400984
Message ID:
00400984
Vues:
53
I am using VFPCOM.DLL to convert a Foxpro cursor to an ADO Recordset. I thought everything was working correctly until I realized that I am having a problem with the DateTime data types. I verify that that the DateTime value in the Foxpro cursor is what I want (ie, "01/01/2000 12:00:00 AM"). After converting the cursor to an ADO Recordset, I retrieve the DateTime value from the ADO recordset (ie, lDate = oRetRs.fields("BeginDate").value). lDate is of type "T", but the value is "08/04/2000", which is today's date. All of my dates are being converted to the current date or I am wrongly pulling the date out of the recordset. Does anyone have any experience with this?

Thanks in advance.
Répondre
Fil
Voir

Click here to load this message in the networking platform