3 messages in org.openoffice.fr.progRe: [prog] probleme de connexion
FromSent OnAttachments
Snopie Snopie1Aug 26, 2005 4:37 am 
Matthieu COUTIEREAug 26, 2005 5:14 am 
Snopie Snopie1Aug 26, 2005 8:12 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 de connexionActions...
From:Matthieu COUTIERE (matt@coutiere.com)
Date:Aug 26, 2005 5:14:22 am
List:org.openoffice.fr.prog

N'est-ce pas juste un problème de Base, qui limite les connexions à un certain nombre ?

M.

Snopie Snopie1 wrote:

Bonjour liste j'ai un probleme de connexion sur clic d'un combo je doit me connecter à ma base de données,jusqu'a mnt tt est bien , quand je clic plusieurs fois il m'affiche un msg erreur . '====================== Sub ConnecterSource() ConfigDocCalc() Dim NomSource As String, login As String, password As String Dim maSource As Object, monDbContext As Object

NomSource = "zizmy" monDbContext = CreateUnoService( _ "com.sun.star.sdb.DatabaseContext") maSource=monDbContext.getByName(NomSource) login = "zizu" password = "zizu" maConnexion = maSource.getConnection(login, password)<======Erreur if IsNull(maConnexion) then MsgBox("Connexion impossible", 16) Stop end if End Sub '=======================================

Erreur: Exception Type:com.sun.star.sdbc.SQLException Message:[unixODBC][MySQL][ODBC 3.51 Driver Too many connections. dans merci d'avance @+ snopie