Visual Basic - Manejo de Indices con MySql

Life is soft - evento anual de software empresarial
 
Vista:

Manejo de Indices con MySql

Publicado por ariel (6 intervenciones) el 31/10/2005 12:57:17
Tengo problemas con indices en MySql, no se que hago mal, aca le muestro el codigo
Asi me conecto:

CONEXION.CursorLocation = adUseClient
CONEXION.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=localhost;" _
& "DATABASE=midb;" _
& "UID=root;" _
& "PWD=xxxx;" _
& "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 16384
CONEXION.Open
asi le asigno al Recordset:

RST.Open "SELECT * FROM USUARIOS", CONEXION, , , c
RST.Index = "NOMBRE"
RST.Seek "=", Mid(txtUserName.Text, 1, 10)
Pero no me permite la funcion para saber si encontro
If RST.Nomatch Then
Muestra el Error "El proveedor actual no admite la interfaz necesaria para funcionalidad indice"
Por favor si me pueden ayudar para poder encontrar un registro particular en una tabla
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