mimosa803
Messages postés345Date d'inscriptionjeudi 15 février 2007StatutMembreDernière intervention24 avril 2010
-
31 mai 2007 à 14:11
mimosa803
Messages postés345Date d'inscriptionjeudi 15 février 2007StatutMembreDernière intervention24 avril 2010
-
31 mai 2007 à 14:22
Salut tous le monde j'ai un problème avec un pilote pour se connecter à une base de données ,
Voici le message d'erreur "Pilote Isam introuvable"
voici le code de la connection :
Option Explicit
Dim cn As New ADODB.Connection
Dim cmd As New ADODB.Command
Dim rs As New ADODB.Recordset
Private Sub cmdchercher_Click()
cn.ConnectionString = "Provider=Microsoft.jet.OLEDB.4.0;DataSource=" & App.Path & "C:\Documents and Settings\mino\Mes documents\projet.mdb"
cn.CursorLocation = adUseClient
cn.Open
cmd.ActiveConnection = cn
cmd.CommandText = "select * from ecolier where num_ecolier='" & Text14.Text & "'"
Set rs = cmd.Execute
end sub
PCPT
Messages postés13272Date d'inscriptionlundi 13 décembre 2004StatutMembreDernière intervention 3 février 201847 31 mai 2007 à 14:20
App.Path & "C:\Documents and Settings\mino\Mes documents\projet.mdb"
c'est bon çà nan?
reste ensuite à vérifier si le MDAC est bien installé
++
PCPT [AFCK]
<hr size="2" width="100%" />Prenez un instant pour répondre à [infomsg_SONDAGE-POP3-POUR-CS_769706.aspx ce sondage] svp