Collection Object

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jul 31 00:57:22 CDT 2006


On 7/30/06 9:47 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> * Now how this works.
> 
>     Note that 
>             OID = (TableID << 32) + RecID
> 
>     If you have OID value you can easy define TableId,
>     then get this table by ID and go to RecID of this table.
> 
>     Simple and fast. Right?

Also we need add into C++ SDK method as

I_Table_Ptr GoTo( I_Database_Ptr inDb, OID inOID )
{
    recID = ...

    TableID tID = ...

    I_Table_Ptr pt = inDB->get_TableByID( tID );

    pt->put_RecID( recID );

    return pt;
}


This method Returns table of interest with correct current record.



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