[Lazarus] Does sdfdataset support locate and lookup?
Michael Van Canneyt
michael at freepascal.org
Thu Apr 2 20:11:04 CEST 2015
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
>> Editoutput.Text:= 'VarIsNull';
>
>
> perhaps i ask here and go then to the source?
This does not work.
I am reworking the CSV dataset, after that it should work.
Michael.
More information about the Lazarus
mailing list