Manually constructing a BitSet

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Feb 27 16:52:43 CST 2007


On 28/2/07 12:42 AM, "Joakim Schramm" <joakim at astrocalc.com> wrote:

Hi Joakim,

Important here that you create

        new BitSet( N )

Where N is tbl.PhysicalRecordsCount() !!

 
> I wonder if it's possible to "manually" populate a BitSet with some "known"
> RecID's? There are some methods in Vset and VBitSet that I think could be
> used for this but I find no example on how to use them. The short "asigment"
> sample in the doc is rather useless. I think I would do this something like:
> 
> Dim VS as New VSET
> Dim BS1 as New VBITSET
> Dim BS2 as VBITSET
> 
> VS.Append(RecId1)
> VS.Append(RecId2)
> Etc.
> 
> Set BS1 = VS
> 
> Set BS2 = Link.FindLinkedAsBitSet(BS1,tbl1,tbl2)
> 
> Is this the correct way to do it?

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