8 messages in org.openoffice.fr.progRe: [prog] Mysql + Macro + Time type
FromSent OnAttachments
Vincent FareSep 24, 2005 11:35 am 
Alex ThurgoodSep 24, 2005 12:48 pm 
Vincent FareSep 24, 2005 1:02 pm 
Alex ThurgoodSep 26, 2005 3:13 am 
Vincent FareSep 26, 2005 3:31 am 
Bernard MarcellySep 26, 2005 6:29 am 
Vincent FareSep 26, 2005 10:01 am 
Alex ThurgoodSep 27, 2005 9:04 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Mysql + Macro + Time typeActions...
From:Vincent Fare (Vinc@free.fr)
Date:Sep 24, 2005 1:02:48 pm
List:org.openoffice.fr.prog

J'avais bien trouve cette doc là (pour une fois) Et c'est bien la fonction que j'utilise GetTime, mais j'ai l'impression que
GetTime n'arrive pas a me lire le TYPE TIME de mysql, je suppose que je ne suis pas le premier a m'en servir, j'ai donc du
faire une erreur qq part, mais je ne trouve pas ou !

Dans mon champ Heure (de type TIME) j'ai 19:10:00 mais
ResultSet.getTime(indexchamp_a _partir_1).hours insiste et me renvoi 0

Il me manquerai pas une combinaison avec une fonction style Timeserial(),
TimeValue().

A+ Vincent.

Alex Thurgood a écrit :

Le samedi 24 septembre 2005 à 20:35 +0200, Vincent Fare a écrit :

Bonjour,

Voila mon probleme : J'ai dans une base mysql un champ de type Time, par une macro dans openoffice je
cherche a lire et a enregistrer ce champ. J'utilise :

Tiré de l'API

http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/XColumn.html

http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XTimeField.html

http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/XRow.html