V4RB... getting vBlob field

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Nov 4 21:40:15 CST 2003


on 11/4/03 21:03, Aaron Bratcher at aaronbratcher at abdatatools.com wrote:

> 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"
> 
> 
> This is ALWAYS returning a nil.  Any ideas?  It's been a while since I
> tried programming to a valentina db like this.

Hmm, looks like a bug in the VBLOB type cast.

I need look into sources...

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



More information about the Valentina mailing list