Help with Pictures

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


> I think your db do not have pictures.

Well, I used the following script to add 10 test photos. It increased my
.BLB file size from 100K to 3.7MB so I'm assuming there is some photo data
in there.

on LoadthePictures
  set SQLString = "SELECT * FROM photos"
  set gCursor = new(xtra "VCursor", GetRef(gDB), SQLString)
  
  repeat with x = 1 to 10
    setBlank(gCursor)
    set nameTemp = the name of member x & ".jpg"
    setField(gCursor, "filename", nameTemp)
    setPicture(gCursor, "photo", member x, 80)
    AddRecord(gCursor)
  end repeat
end

> You can easy check this using Valentina Studio.

Is Studio available for download or do I wait for the beta program sign-up
(which I just did) to go through?

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