Bonjour à tous,
Il m'est arrivé une bizarrerie à laquelle je n'ai rien compris !
Cette requête ne m'insère pas l'enregistrement dans ma base de données alors qu'il s'insère très bien dans une autre base, de même description !!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 SQL.Text := 'INSERT INTO T_STK_INIT '+ ' (ID_ART, ID_DEPOT, DLC, '+ ' DATE_SLD, QTE, P_UNIT) '+ 'VALUES(:ID_ART, :ID_DEPOT, :DLC, '+ ' :DATE_SLD, :QTE, :P_UNIT)'; ParamByName('ID_ART').AsInteger := 1323; ParamByName('ID_DEPOT').AsInteger := -1; ParamByName('QTE').AsCurrency := 12; ParamByName('P_UNIT').AsCurrency := 84; ParamByName('DATE_SLD').AsDateTime := StrToDate('01/01/2023'); ParamByName('DLC').Clear; ExecSQL;
Une idée ??
Win 10, D7, FB 2.5, Zeos 7.2
Partager