V4MD 2 setPicture

Scott Runkel srunkel at hypix.com
Tue Mar 6 15:39:22 CST 2007


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.

-SR

Scott Runkel
Director of Technology
Hypix Media, Inc.
503-722-2123 




More information about the Valentina mailing list