Converting ULong fields into ObjectPtr

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Apr 8 01:05:16 CDT 2007


On 7/4/07 10:58 PM, "Stan Busk" <maxprog at mac.com> wrote:

> Hi,
> 
> <<  dim link as Vlink = vdb.Table( "mytbl" ).ObjectPtrField
> ( "myfld" )  >> doesn't work. I get a 'vLink expected byt get
> ObjectPtr' error.

May be it needs to cast

    dim link as Vlink

    link = Vlink( vdb.Table( "mytbl" ).ObjectPtrField( "myfld" ) )

Aha, sorry. This mechanism did not work in RB 2 years  ago,
So instead was methods like

    link = vdb.Table( "mytbl" ).ObjectPtrField( "myfld" ).AsVLink2()



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