Lo dije de memoria y me equivoqué
Código Delphi [-]
if tabla.Locate('fecha', DatetimePicker1.date,[]) then
ShowMessage('si encontrado')
else
ShowMessage('no encontrado');
Cita:
Locate uses the fastest possible method to locate matching records. If the search fields in KeyFields are indexed and the index is compatible with the specified search options, Locate uses the index. Otherwise Locate creates a filter for the search.
|
Saludos.
__________________
Si usted entendió mi comentario, contácteme y gustosamente,
se lo volveré a explicar hasta que no lo entienda, Gracias.
|