![]() |
Filtro Incorrecto
Tengo este filtro a una tabla:
Table1.Filter:='Fecha_Prog=' +QuotedStr('20/01/04')+'and'+'Cve_Resp='+QuotedStr('1'); Y al ejecutar el filtro me manda el siguiente error: "Filter Expression Incorrectly terminated", Expresion de filtro terminada incorrectamente, La cambié a esta forma: Table1.Filter:='Fecha_Prog='+QuotedStr('20/02/04')+'and'+'Cve_Resp=1'; Y ocurre lo mismo... ¿por qué??? Debo aclarar que poniendo solo la primera parte (antes del and), si funciona bien, el problema surgió, despues de poner el +'and'.... |
Hola !
Creo que te faltan un espacios en blanco.... Código:
Table1.Filter:='Fecha_Prog=' +QuotedStr('20/01/04')+' and '+'Cve_Resp='+QuotedStr('1'); |
Muchas Gracias Nuria¡¡¡
|
La franja horaria es GMT +2. Ahora son las 09:30:29. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi