Table of a VFeld from a VCursor

Charles Yeomans yeomans at desuetude.com
Mon Nov 21 13:35:27 CST 2005


On Nov 21, 2005, at 1:06 PM, Ed Kleban wrote:

> Makes sense.  However my question still remains:
>
>>>> I'm hoping that given you have a VField obtained from a VCursor in 
>>>> this
>>>> manner that there is some way to determine which VCursor the VField
>>>> comes
>>>> from.  Is there some way to find out?
>
> Is there a way to find out from a VField what it's VCursor is, or to 
> as a
> VCursor what it's VFields are or whether a given VField  belongs to it?
> Any unorthodox, implementation-dependent, dangerous "cheats" that might
> accomplish this?
>

I did a little experiment, and it appears that VField.Table returns a 
reference to the VCursor.  But VCursor is not a subclass of VTable; 
that is, theCursor IsA VTable returns false.  Ruslan, you've got some 
explaining to do.


--------------
Charles Yeomans



More information about the Valentina mailing list