Fld.FindSingle problem

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Sep 17 12:15:50 CDT 2006


On 9/17/06 12:40 AM, "Joakim Schramm" <joakim at astrocalc.com> wrote:

> A follow up to this,
> 
> It seem it's not only FindSingle having this problem. If I do
> 
> Dim oVset As Vset
> Dim arrEditBody As VArraySer

As I have told in prev letter. Only BitSet can be used for now.
 

We already see solution how to improve this in engine, and allow any Set to
be present in ANY place where set is expected. I hope we will make this for
2.5 or later. Too many work here.


> sKey = "000"
> mConfNum = 2&
> 'tblConf & tblText has binary link
> Set arrEditBody = lnk.FindLinked(mConfNum, tblConf, tblText)
> Set oVset = arrEditBody
> Debug.Print oVset.Count ' = 1
> Call fldKey.ValueExistsWithCount(sKey, cnt, arrEditBody)
> Debug.Print cnt ' = 3
> 
> fldKey in tblText has 3 records with value "000", so also
> fldKey.ValueExistsWithCount(sKey, cnt, arrEditBody)
> Ignore arrEditBody and count all records having "000", not only the one
> exist in arrEditBody
> 
> So it seem this is a problem in whole Valentina engine but I wonder if it
> possibly can be because fldKey is of type String[3], I haven't tested with
> other type of field though.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list