V4MD 2 setPicture

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Mar 7 01:36:31 CST 2007


On 6/3/07 11:39 PM, "Scott Runkel" <srunkel at hypix.com> wrote:

> I've tried various things but can't get setPicture to work (DMX2004, Win,
> authoring).
> 
> My code is:
> 
> on setCursorPicture me, cursor, fieldname, memberRef
>   fldPicture = cursor.field(fieldname)
>   fldPicture.setPicture(member memberRef, #kJPG, 75)
>   updateRecord me, cursor
>   flush me
> end
> 
> I've passed in both the member name and a reference to the member, neither has
> worked.
> 
> I get an error code of 5, and the error string is empty.
> 
> If successfully used similar code to setMedia, setString, etc.

Hi Scott,

Please check 
        V4MD/Examples/API/Field_Pictures
        V4MD/Examples/SQL/ Pictures

As I remember these examples show work with all 3 ways
             
        SetImage
        SetPicture
        SetMedia

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