21.08.2013 Views

OpenOffice.org BASIC Guide - OpenOffice.org wiki

OpenOffice.org BASIC Guide - OpenOffice.org wiki

OpenOffice.org BASIC Guide - OpenOffice.org wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Database Access<br />

(depends on principle). This is not, for example, possible with complex SQL commands with linked columns or<br />

accumulated values.<br />

The ResultSet object provides Update methods for modifying values, which are structured in the same way as<br />

the get methods for retrieving values. The updateString method, for example, allows a string to be written.<br />

After modification, the values must be transferred into the database using the updateRow()method. The call<br />

must take place before the next navigation command, otherwise the values will be lost.<br />

If an error is made during the modifications, this can be undone using the cancelRowUpdates()method. This<br />

call is only available provided that the data has not be re-written into the database using updateRow().<br />

150 <strong>OpenOffice</strong>.<strong>org</strong> 3.2 <strong>BASIC</strong> <strong>Guide</strong> · March 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!