- Код: Выделить всё
Dim con As ADODB.Connection
Dim rs As ADODB.Recordset
Set con = New ADODB.Connection
con.ConnectionString = "Driver={Microsoft dBASE Driver (*.dbf)};" & _
"DriverID=277;Dbq=C:\doroga04\d126\;Exclusive=No"
con.Open
Set rs = New ADODB.Recordset
Set rs.ActiveConnection = con
rs.CursorLocation = adUseClient
rs.Open "SELECT * FROM AZS WHERE KODDOR LIKE '1266259'", , adOpenStatic, adLockReadOnly, adCmdText
Что делать-не знаю...