[Lazarus] Does sdfdataset support locate and lookup?

John Landmesser jmlandmesser at gmx.de
Thu Apr 2 19:23:34 CEST 2015


Tipps are welcome:

This code snippet doesn't work:

> var val : Variant;
> begin
>   val := Editinput.Text;
>   val := SdfDataSetNew1.Lookup('Spalte1',VarArrayOf([val]),'Spalte3');
>
>   if not VarIsNull(val) then
>    Editoutput.Text:=val[0]
>   else
>    Editoutput.Text:= 'VarIsNull'; 


perhaps i ask here and go then to the source?




More information about the Lazarus mailing list