[Lazarus-es] Uso de parámetros

JoshyFun joshyfun en gmail.com
Mar Dic 22 20:09:29 CET 2009


Hello Ismael,

Tuesday, December 22, 2009, 7:54:15 PM, you wrote:

ILDG> Cuando trato de usar la siguiente instrucción:
ILDG> rsbuscar.Params.ParamByName('pEntidad').AsString:=dtm.strentidad;
ILDG> Me salta el siguiente error: Como solucionarlo?
ILDG> Y el parámetro si existe. Definido como ftString y ptInput

Recuerda que el parámetro tiene que empezar por ":". Puedes poner el
SQL ? Debería de ser algo como:

Select * from Table where CAMPOEntidad=:pEntidad;

-- 
Best regards,
 JoshyFun





More information about the Lazarus-es mailing list