31 messages in org.openoffice.fr.progRe: [prog] Probleme concernant le dat...
FromSent OnAttachments
thom...@free.frApr 15, 2005 5:51 am 
Laurent GodardApr 15, 2005 6:04 am 
thom...@free.frApr 15, 2005 6:22 am 
thom...@free.frApr 15, 2005 7:23 am 
Bernard MarcellyApr 15, 2005 7:43 am 
thom...@free.frApr 15, 2005 7:59 am 
thom...@free.frApr 18, 2005 12:05 am 
Bernard MarcellyApr 18, 2005 1:53 am 
thom...@free.frApr 18, 2005 3:03 am 
thom...@free.frApr 18, 2005 5:50 am 
thom...@free.frApr 18, 2005 7:35 am 
Bernard MarcellyApr 18, 2005 9:40 am 
Thomas CoqueryApr 20, 2005 5:48 am 
Thomas CoqueryApr 20, 2005 6:35 am 
Thomas CoqueryApr 20, 2005 7:55 am 
Laurent GodardApr 20, 2005 8:10 am 
Thomas CoqueryApr 20, 2005 11:11 pm 
Josianne SAUVAGEApr 21, 2005 1:51 am 
will...@free.frApr 21, 2005 2:07 am 
Thomas CoqueryApr 21, 2005 2:08 am 
will...@free.frApr 21, 2005 2:22 am 
Alain NowakApr 21, 2005 7:30 am 
Josianne SAUVAGEApr 21, 2005 9:01 am 
Jean-MichelApr 21, 2005 9:06 am 
GVApr 21, 2005 10:20 am 
Josianne SAUVAGEApr 22, 2005 2:15 am 
Thomas CoqueryApr 22, 2005 2:27 am 
Thomas CoqueryApr 27, 2005 6:50 am 
Thomas CoqueryApr 29, 2005 2:47 am 
Laurent GodardApr 29, 2005 3:06 am 
Thomas CoqueryApr 29, 2005 6:15 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] Probleme concernant le datasource dans un publipostage (ma table n'existe pas)Actions...
From:Bernard Marcelly (marc@club-internet.fr)
Date:Apr 15, 2005 7:43:43 am
List:org.openoffice.fr.prog

Le 2005-04-15 16:24, thom@free.fr a écrit :

le "plantage" se produit à la derniére ligne le .execute... (rem le VarArrayCreate([0, -1],varVariant) indique que je ne passe aucun parametre à execute... il me dit: provoqué une classe d'exception EOLE Exception 'com.sun.star.sdb.SQLException' ,il n'existe aucune table nommée essai... (malgré la présence d'un fichier essai.txt dans le dossier correspondant à l'URL de la source de donnée...

Bonjour, je n'ai pas le temps d'analyser ton code, mais il me semble que ta création de source de données est incorrecte. Tu devrais lire le livre Programmation OpenOffice.org chapitre 17. On y utilise le service com.sun.star.sdb.DatabaseContext pour créer une source.

Par ailleurs puisque tu utilises Delphi tu devrais jeter un oeil à la boîte à outils Delphi_OOo sur la page <http://fr.openoffice.org/Documentation/How-to/indexht.html>. Elle facilite le développement.

Bernard