
busqueda multiple
Publicado por Ives (21 intervenciones) el 21/10/2022 22:26:53
desde un cuadro de texto ingreso los datos para buscar nombre,identifica,direccion y telefono por medio de un boton. El botón es donde asigno el código de búsqueda, funciona bien incluso cuando tengo tres campos en la búsqueda, pero cuando agrego el cuarto parámetro, da el siguiente error: table has no index order set
SELECT clientes2
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO nombre
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO identifica
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO direccion
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO telefono
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
SELECT clientes2
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO nombre
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO identifica
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO direccion
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
IF !EMPTY(THISFORM.Text1.Value)
SET ORDER TO telefono
SEEK ALLTRIM(thisform.text1.Value)
thisform.Refresh
ENDIF
Valora esta pregunta


0