Salut tous j'ai un petit problème avec un Datimepicker format heures( Kind =dtkTime)
j'enregistre dans une table paradox un champs T
si j'enregistre avec un Ttable ok pas de probleme, mais avec un query et Update j'ai un souci.
dans le Datimepicker s'affiche bien dans ma table aussi.Mais dans un DBtext il affiche une date type 20/02/41/417
Pourquoi ??
Voici mon code
il y a autre chose à faire ??
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 with DataModule2.Query9 do begin SQL.Clear; SQL.Add('Update base_de_donnee.db set champs1 = '+ QuotedStr(champs1 .Text) +',champs_heures = '+ QuotedStr(FormatDateTime('hh:mm:ss', champs_heures.DateTime)) +' where Idtable ='+ QuotedStr(Idtable.text)+''); Prepare; ExecSQL;
Merci de votre aide
Partager