Bonjour
dans ma procédure j'ai un paramètre @ID_Sites integer,
j'essaie de lui passer une valeur depuis un FdSoredProcedure
J'ai le choix entre
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 Param.Name := '@ID_Sites'; Param.ADDataType:=dtUInt64; Param.Value := 0;
Rien ne fonctionnedtSByte, dtInt16, dtInt32, dtInt64, // signed int
dtByte, dtUInt16, dtUInt32, dtUInt64, // unsinged int
Une idée ?---------------------------
Vulcain_logistique
---------------------------
[FireDAC][Phys][ODBC]-338. Param [@ID_Sites] type changed from [ftInteger] to [ftByte]. Query must be reprepared. Possible reason: an assignment to a TFDParam.AsXXX property implicitly changed the parameter data type. Hint: use the TFDParam.Value or appropriate TFDParam.AsXXX property.
---------------------------
OK
---------------------------
Cordialement
Partager