Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/01/2009, 07:56
principefreddy
 
Fecha de Ingreso: julio-2008
Mensajes: 205
Antigüedad: 15 años, 10 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