The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value
Bonjour,
voici mon problème:
quand j'exécute ce code sous vb6 j'ai ce message d'erreur : "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value"
CODE:
Code:
1 2 3 4 5 6
| rs.Open "
SELECT *
FROM ReqFact
WHERE DATE_PIECE >= '" & DTPicker1.Value & "'
And DATE_PIECE <= '" & DTPicker2.Value & "'
", CN, adOpenStatic, adLockReadOnly |
mais seulement quand je mets DTPicker2 à 31/01/2009
Merci d'avance!