Hi, I have to pass parameters to a PostgreSql stored procedure, but when I try to use SqlQuery1.ParamByName('myparam') I get a null pointer.
The SqlQuery1.Sql.Text is "select * from mystoredproc(:param1, :param2)", and I'm trying to write param values as:
SqlQuery1.ParamByName('param1').AsString := 'value1';
SqlQuery1.ParamByName('param2').AsString := 'value2';What I'm doing wrong?.
Regards,
Leonardo M. Ram?
http://leonardorame.blogspot.com
