ps muchas gracias por tu respuesta me parece muy logica, i ps asi puse el codigo
if(dm.T_deptoimpre.Locate('nombre_departamento',edit1.Text,
[loCaseInsensitive])) then
dm.T_deptoimpre.Locate('nombre_departamento',edit1.Text,
[loCaseInsensitive])
else
showmessage('No hay impresoras en ese departamento')
incluso lo intente con el lopartialkey
y no me funciona tampoco me marca error:
undeclared identifier: "loCaseInsensitive"
Incompatible types:'Tlocateoptions' and integer
|