[V4RB] classes way rename links of VObjectPtr

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Aug 7 21:10:02 CDT 2005


On 8/7/05 8:06 PM, "Peter Salomon" <peter.salomon at gmx.net> wrote:

Hi Peter,

>>     linkName = "myname"
> this is examplecode, right?

I'd say general idea.

 
> i ´ve tried in the constructor of table:
> self.Link(1).Name = "myname"
> but it did not rename the link.


> i tried also in database constructor:
> mytable.link(1).name = "myname"
> but it does also not rename the link...

Try this:

Constructor 

    dim link as VLink2

    link = self.AsLink2()       // this is analog of type cast

    link.name = "myname"




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