cs_Juliendu88
Messages postés39Date d'inscriptionlundi 19 avril 2004StatutMembreDernière intervention17 juin 2004
-
21 avril 2004 à 13:58
cs_Juliendu88
Messages postés39Date d'inscriptionlundi 19 avril 2004StatutMembreDernière intervention17 juin 2004
-
22 avril 2004 à 08:18
Bonjour j'ai un probleme d'acces a ma table Employés car quand elle est vide le code ci dessous, la marche sinon cela me fait une erreur "Incompatibilité de type" je comprends pas
Dim Oconn As New ADODB.Connection
Dim Ocomm As New ADODB.Command
datejour = Date
Dim adors As New ADODB.Recordset
Dim SQL As String
Oconn.ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=J:\MaBAse.mdb"
Oconn.Open
Ocomm.ActiveConnection = OconnSQL "SELECT * FROM Employés WHERE numéro_emp " & Texte0 & " ;"
Set adors = Oconn.Execute(SQL)