I use REALBasic database (SQLite 3).

Le 15 févr. 06 à 19:58, Norman Palardy a écrit :


On Feb 15, 2006, at 10:23 AM, Meheddin MESTARI wrote:

I think that i've found a bug in DatabaseRecord.JPEGColumn property.

Here  my code :

dim pic as picture

// initialize pic var
// ....

dim rec as Databaserecord

rec.IntegerColumn("code") = 1
rec.JPEGColumn("mypic") = pic

MyBase.Insertrecord "mytable", rec
MyBase.Commit


In this case no picture was saved in the database !! you must reopen it with recordset and use r.Field("mypic").JPEGValue = pic to save the picture.

Anyone know what ? This code is running on MAC OS X.4

Which database plugin is this with ?
Since each plugin has to handle this it's important to know what database plugin you are trying this with.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to