Hi Andreas, > Mit ostamp.Text = now() > versuchst Du einen Basic-Datentyp als text an ein Datenbankfeld zu > übergeben.
Okay, ich hätte meine Antwort nicht ganz so fix schreiben sollen :) > http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/XColumnUpdate.html#updateTimestamp > basicTime = Now() > unoTime = createUnoStruct("com.sun.star.util.DateTime") > > Dann schreibst Du die Zeiteinheiten in das Struct. > unoTime.Year = Year(basicTime) > und so weiter, und schließlich: > updateTimestamp(unoTime) Yep, so sollte es gehen. Danke & 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]
