
31/01/2009, 07:56
|
| | Fecha de Ingreso: julio-2008
Mensajes: 205
Antigüedad: 16 años, 9 meses Puntos: 1 | |
Necesito filtrar por cedula y por apellido BUENAS TENGO UN MSHFlexGrid1N QUE ES DONDE SE ME MUESTRAN LAS REGISTROS, Y TENGO QUE FILTRAR POR CEDULA Y POR APELLIDO, SI ALGUIEN ME PUEDE AYUDAR CON ESTO. SE LOS AGRADEZCO. EL NOMBRE DE LA TABLA SE LLAMA CHICAS, TIENE EL CAMPO CEDULA Y APELLIDO. TENGO DOS OPCIONES Y UN TEXTO1.
LA CONEXION LA HAGO DE ESTA MANERA.:
'********************************************
Option Explicit
Public nc As New ADODB.Connection
'********************************************
Private Sub Conectar_Data()
Dim sPath As String
sPath = App.Path & "\myapp.dat"
With nc
.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\myapp.dat;Persist Security Info=False"
Debug.Print .State
End With
'********************************************
End Sub |