V4RB... getting vBlob field

Aaron Bratcher aaronbratcher at abdatatools.com
Tue Nov 4 15:22:06 CST 2003


Actually, doing it that way results in a null Field as well.  the 
baseObject isn't returning the field at all.  =(   This is with V4RB 
1.9.8


On Tuesday, November 4, 2003, at 02:45  PM, Ruslan Zasukhin wrote:

> on 11/4/03 21:03, Aaron Bratcher at aaronbratcher at abdatatools.com 
> wrote:
>
> Hi Aaron,
>
>> I am trying to typecast a vField into a vBlob.  However simply trying
>> to get the field from the baseObject is always returning nil and Im 
>> not
>> sure why.
>>
>> Here is the field definition as I create the database:
>>  newField = bo.CreateField("note",kV_TypeBLOB) // newField is type
>> vField
>>
>> When I try to get the field, I have a variable of type vBlob. (bo is 
>> my
>> base object properly obtained from the database)
>>
>>      blobField = vBlob(bo.field(fieldName)) //fieldName is confirmed
>> to contain "note"  I even tried hard-lining "note"
>
> Try this way:
>
>       Field = bo.field(fieldName)
>       blobField = vBlob(field)
>
> Field is not NULL ?
>
>
> I have check sources and I do not see bugs. All right.
>
> So I small need project to reproduce
>
>> This is ALWAYS returning a nil.  Any ideas?  It's been a while since I
>> tried programming to a valentina db like this.
>
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://lists.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>



More information about the Valentina mailing list