Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with storing datetime values through OLEDB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problems with storing datetime values through OLEDB
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01089353
Message ID:
01089353
Vues:
106
Having an issue trying to store datetime (type T) values into a VFP9.1 table using VFPOLEDB 9.1. I'm doing this via ADO under C++. The following query:

INSERT INTO mytable (created) VALUES ({^2006-10-10,11:11:11p})

works fine within FoxPro, but the VFPOLEDB provider returns a "Data type mismatch" error. I have tried about every mutation of the date string you can imagine, and have tried using CTOT, and DATETIME functions. Everything I try returns a datatype mismatch. I can store other data types without trouble. Any suggestions?
Jim Oswell
Practice Masters, Inc.
Fox Forever
The wake never pushes the boat.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform