> I do this: > > DIM hResultado AS Result > DIM sImagen AS String > > IF NOT Exist("/tmp/mas") THEN MKDIR "/tmp/mas" > hResultado = $hConn.Exec("SELECT * FROM `Imagenes`") > sImagen = hResultado["Imagen"].Data <----------------------- Fails here > "Not an object"
Well, that means that hResultado["Imagen"] returns NULL. Are you sure that your field is interpreted as a "Blob" by Gambas? I remind you that MySQL has no blob field type, only string field types. So Gambas has to make a choice, and only string field types whose maximum length is greater then 2^24 is a blob. -- Benoît ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user