FindValue does not return nil when no record found

Joakim Schramm joakim at astrocalc.com
Thu May 11 14:33:47 CDT 2006


> > 
> > Set bitLngPlaces = fLngDeg.FindValue(Longitude) 'Return 
> Nothing if not 
> > found
> 
> I see next ability. Confirm pleasE:
> 
>     bitPlaces = ...
> 
>         // it is not empty and not nil
> 
>     Set bitLngPlaces = fLngDeg.FindValue(Longitude, bitPlaces)
> 
>         // s2 = FindValue(Longitude) returns also non nil and 
> not empty
> 
> 
> but intersection of bitPlaces AND s2 => gives empty set.
> Which you get.
> 
> Do you see such picture?
> 
> I think yes...
> 
I think I understand now, I search

Set bitLngPlaces = fLngDeg.FindValue(Longitude, bitPlaces)

Where Longitude not exists in bitPlaces and get empty set.

I search

Set bitLngPlaces = fLngDeg.FindValue(Longitude)

Got hit in table filed outside of bitPlaces

I do intersection and get empty set.

Is this what you wanted to hear?

Joakim
> 
> --
> 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]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 



More information about the Valentina mailing list