getMedia

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Jul 8 02:42:26 CDT 2006


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]




More information about the Valentina mailing list