getMedia

Michael Bedar mike at bedar.net
Fri Jul 7 19:47:40 CDT 2006


that makes  a lot more sense


-- 
Michael Bedar
mike at bedar.net



On Jul 7, 2006, at 7:42 PM, Ruslan Zasukhin wrote:

> On 7/8/06 2:35 AM, "Michael Bedar" <mike at bedar.net> wrote:
>
>> getMedia retrieves the Blob data from the DB an puts it into a Cast
>> member, right?
>>
>> How would this statement look?  I'm kinda lost here.
>>
>> It seems to me like you are saying:
>>
>> TableName.field("fieldname").getMedia(cursor,"fieldname", MemberRef )
>
> We talk about Valentina 2 right ?
> Then it seems docs example is wrong.
> Kirill, please check.
>
>
> As I see you need do:
>
> 1) get field of table or cursor
>
>     a) fldBLOB = tblPerson.Field( "fldBLOB" )
>
>     b) fldBLOB = curs.Field( "fldBLOB" )
>
>
>
> 2) now when you have field you can do:
>     fld.setMedia( member "photo" )
>
> Or later
>     fld.getMedia( member "photo" )
>
>
>
> -- 
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list