[Lazarus] TSQLWebDataProvider setting Params

Leonardo M. Ramé l.rame at griensu.com
Thu Aug 25 18:00:58 CEST 2011


I'm trying to set params for a query contained in
TSQLDBWebDataProvider's SelectSQL property.

The query is similar to this:

select * from table where field=:Field

I set the param value with this code:

myDataProvider.Params.ParamByName('Field').Value := 1;

But it doesn't seems to be assigned.

Any hint?.
-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list