Como faço para verificar se o usuário já existe antes de gravar no Firebird?
Fiz assim e dar erro:
 
if not dmCadUsuario.cdsCadUsuario.FindKey([EditUsuario.Text]) 
   then ......
 
  ----------



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 000750-0, 18/06/2007
Tested on: 18/6/2007 15:19:08
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com





[As partes desta mensagem que não continham texto foram removidas]

Responder a