Ver Mensaje Individual
  #1  
Antiguo 27-05-2005
Avatar de Investment
Investment Investment is offline
Miembro
 
Registrado: may 2003
Posts: 378
Reputación: 21
Investment Va por buen camino
Question Saber si existe un campo en una tabla

¿Existe alguna forma mejor de saber si existe un campo en una tabla de paradox que la que pongo a continuacion?
Código:
   try
 	if TableOrigen.fieldbyname('TIPO_EXPED').asString<>'jkfrfkleivj' then
 	  ShowMessage('Existe TIPO_EXPED');
   except
 	 ShowMessage(' N O	  E X I S T E	 T I P O _ E X P E D');
   end;
Seguro que si, pero no doy con ello.

Gracias de antemano.
__________________
Saludos,
Peter Investment
Responder Con Cita