FindValue return values

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Dec 21 09:41:29 CST 2005


On 12/21/05 9:30 AM, "Ed Kleban" <Ed at Kleban.com> wrote:

> result = fItmFormRid.FindValueAsArraySet( aFormRid, aVBitSet )
>  
>> So do you search which must find ZERO records, right ?
>> 
> 
> I do thousands of searches.  Many of them may return zero records, correct.
> My main code assumes that searches will always return nil if no records are
> found instead of a VArraySet with count = 0; just as you said should be the
> case.
> 
> But when DebugBuild = true I trust nothing.  I don't trust RB to work right,
> I don't trust Valentina to work right, and I don't trust me to code right.
> So I check EVERYTHING.   And my checks discovered that FindValueAsArraySet
> can return a VArraySet that is not nil and has count = 0.

Okay, I think I see when.

You pass aVBitSet which was an object ...

Ok, we will check this combination again.

-- 
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