Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing SQL-INSERT via ADO is producing incorrect dates
Message
De
30/05/2003 03:40:17
 
 
À
29/05/2003 11:28:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00793950
Message ID:
00794387
Vues:
24
Thanks Cetin

Is that the only way you know of, it seems quite strange to me as I'm sure I've never had this problem before.

Kev

>>Hi
>>
>>When I pass an INSERT-SQL like "INSERT INTO Table (DateField) VALUES ({15/01/2003})" via ADO Connection, VFP always places the date into the table as an American style format.
>>
>>I have SET DATE TO British set via the DBC OpenData event, what else can I do?
>>
>>Thanks
>>Kev
>
>Kevin,
>Use strictdate format :
>"INSERT INTO Table (DateField) VALUES ({^2003/01/15})"
>Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform