[Lazarus] Does sdfdataset support locate and lookup?

2015-04-02 Thread John Landmesser
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

Re: [Lazarus] Does sdfdataset support locate and lookup?

2015-04-02 Thread Michael Van Canneyt
On Thu, 2 Apr 2015, John Landmesser wrote: 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