Converting ULong fields into ObjectPtr

Stan Busk maxprog at mac.com
Mon Apr 9 10:57:02 CDT 2007


Ok, seems both work. Thanks!

stan

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



More information about the Valentina mailing list