'Date available
Dim sSQL3 As String
Dim oConnect3 As ADODB.Connection
Set oConnect3 = New ADODB.Connection
Dim oRST3 As ADODB.Recordset
Set oRST3 = New ADODB.Recordset
sSQL3 = "SELECT [Période]FROM [Inventaire]'"
oConnect3.Open "Provider=Microsoft.ACE.OLEDB.12.0;" & _
"Data Source=" & Form4.txtBaseDe.Text
ComDateDisponible.AddItem ""
oRST3.Open sSQL3, oConnect3
Do Until oRST3.EOF
ComDateDisponible.AddItem oRST3("Période")
oRST3.MoveNext
Loop
|