Addressing the RecID Field in a VTable
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Jul 8 02:20:30 CDT 2006
On 7/7/06 10:45 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:
>> dim fldRecID as VULong
>>
>> fldRecID = tbl.Field( "RecID" )
>
> Seems to me that the code (above) would return the recID NOT the
> field in the VTable that holds the recID.
>
> Or am I mistaken here?
These 2 lines return FIELD.
To get RecID value itself you need
dim r as int
r = tbl.Field( "RecID" ).value
Or even better:
r = tbl.VULong( "RecID" ).value
--
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