picture and text insert

Kim Kohen kim at webguide.com.au
Tue Apr 10 19:26:38 CDT 2007


> It would be nice if I could use SQL to just place the (RB) Picture  
> object directly into the picture field as per the API version.
••••
As a follow up,  the API version is giving issues as well.

   dim t as VTable
   dim fld as VPicture

   t = mDatabase.Table( "graphics" )
   fld = t.PictureField( "g_preview" )

   t.SetBlank
   fld.WritePictureAs( pic1_property, EVPictType.kJPG, 50 )
   call t.AddRecord()
   mDatabase.Flush

is returning several blank rows with g_preview showing in VStudio as  
empty.

cheers

kim




More information about the Valentina mailing list