Help with Pictures

Mark Maslowski mark at majico.com
Tue Nov 25 14:25:12 CST 2003


Any idea why this doesn't change member "test photo" at all? It does set the
field "test text" correctly (D8.5, VMD) -

on getthePictures
  set SQLString = "SELECT * FROM photos"
  set gCursor = new(xtra "VCursor", GetRef(gDB), SQLString)
  GotoRecord(gCursor, 3)
  set the text of member "test text" = getField(gCursor, "filename")
  GetPicture(gCursor, "photo", member "test photo")
  updatestage
end

On checking the result of the GetPicture call, I get "-2147483645"

Thanks.

- Mark

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Mark D. Maslowski
Partner/Designer/Programmer

MAJICo - The Mark and June Interactive Company
Serving Northern California - from Napa to Monterey!
www.majico.com

831-336-3343 voice       831-336-3353 fax

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




More information about the Valentina mailing list