Hello Fred,

  Martin did not introduce variant_sumfield then for me it's not recommended.

Med


________________________________
De : fredvs <[email protected]>
Envoyé : mardi 18 mai 2021 18:30
À : [email protected] 
<[email protected]>
Objet : Re: [MSEide-MSEgui-talk] BufDataset

Ha, OK, indeed, nicer.

(But I like your first peace of code too.)

For the new code, maybe using a variant variable and create a new sumfield()
procedure:

procedure tmsebufdataset.sumfield(const afield: tfield; out asum: variant);

But for this, we need a variant-guru (I am beginner in variant type).

Do you have problems using your first peace of code (apart for the look) ?



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to