Visual Basic - Consultar texto por DataGrid

Life is soft - evento anual de software empresarial
 
Vista:

Consultar texto por DataGrid

Publicado por Hendrick Araujo (2 intervenciones) el 17/10/2009 17:35:38
ESTE LO APLICO PARA BUSCAR NUMEROS...PERO EN TEXTO NO FUNCIONA....YA LE CAMBIE EL TRIM...POR LEN...QUE HAGO???

Private Sub txtYahoo_Change()
If Frame2.Caption = "FILTRO POR CEDULA" Then
If txtYahoo <> "" Then
adoCliente.Refresh
adoCliente.Recordset.Filter = "cedula=" & Trim(txtYahoo)
If Not adoCliente.Recordset.EOF Then
Txtcedula1.Text = adoCliente.Recordset!nombres & " " & adoCliente.Recordset!apellidos
Else
adoCliente.Refresh
Txtcedula1.Text = "No Existe Registro"
End If
End If
End If
End Sub
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Consultar texto por DataGrid

Publicado por jose (15 intervenciones) el 20/10/2009 22:17:28
adoCliente.Recordset.Filter = "cedula='" + Trim(txtYahoo) +"'"
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

Consultar texto por DataGrid

Publicado por Hendrick Araujo (2 intervenciones) el 21/10/2009 00:09:58
NEVER... NO FUNCIONO... BUENO GRACIAS DE TODOS MODOS...OK
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar