FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Problemas con Adoquery
Como yo soy nuevo, ahora mi problema es que quiero realizar una consulta donde el usuario ponga la variable en un Edit y el sistema realize la busqueda, mi metodo es el siguiente:
AdoQuery1.Active:=false; AdoQuery1.SQL.Clear; AdoQuery1.SQL.Add('SELECT Nodo, Ubicación, IP, from inventario where Nodo='+#39+Edit1.Text+#39); AdoQuery1.ExecSQL; AdoQuery1.Active:=true; La consulta la realiza bien pero ejecuto la primer consulta y enseguida ingreso otra variable para buscar otro valor me marca el siguienete error: "Project Registro.exe raised exception class EOLeException with message 'Either BOF or EOF is true, or the current has been deleted. Requesed operation requires a current record' Proces stoped. Use Stop o Run to continue'. Que puede ser que me este ocacionando esto???????
__________________
Sergio Esquivel Arredondo T.S.U. Informatica |
|
|
|