OID queries

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jun 9 06:21:27 CDT 2008


On 6/9/08 12:02 PM, "Bart Pietercil" <bart.pietercil at cognosis.be> wrote:

>> 
>> Let me know if this is not enough
> 
> Well indeed this seems to point to the solution I am looking for
> however I don't see how to translate this to SQL
> 
> // This function returns a Table pointed by a given OID
> // and this Table has the current record pointed by OID.
> //
> VTable VDatabase.GoToRecord( inOID )
> {
>      TableID tblID = (TableID)(inOID >> 32);
> 
>      // Find table by its ID
>      VTable tbl = this->get_Table( tblID );
>      if( tbl )
>          tbl.Recid = inOID & 0xFFFFFFFF;
> 
>      return tbl;
> }
> 
> Could I  write this as a stored procedure ?

Yes I think.

If you need help of Ivan, let him know


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