Table of a VFeld from a VCursor

Charles Yeomans yeomans at desuetude.com
Mon Nov 21 12:51:23 CST 2005


On Nov 21, 2005, at 12:17 PM, Ed Kleban wrote:

>
> When you get a VField from a VCursor, such as with:
>
>     aVField = aVCursor.Field( "SomeFieldName" )
>
> What is the value of aVField.Table ?
>
>     Is it nil?
>     Is it aVCursor?
>     Is it the VTable from which the vField was extracted by SQL and 
> added to
> the Cursor?
>
> 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?

I'm not sure that VField.Table makes sense here.  A cursor can be 
thought of as a new, temporary table, and its fields are fields of this 
temporary table.

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



More information about the Valentina mailing list