Hi Fernand,

> "oForm.Columns.getByName" is the representation off the data who is
> in the database, what means that the  .updateBinaryStream on the
> "Form" triggers the data-update in the database itself ?

No, the data update is triggered only by an .updateRow resp. .insertRow
call on the form itself (or the user actions which would trigger those,
of course). The .updateBinaryStream only copies the content of the
stream into the current row of the form.

> and, is this
> method preferable to the uses of a prepared sqlStatement ?

Internally, the updateRow resp. insertRow also use prepared SQL
statements when writing data.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to