FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Error UDF realizada en Delphi
Hola a todos,
estoy escribiendo mi primera UDF en Delphi para calcular la edad de una persona y la muestre en una vista. La función tiene el siguiente código fuente:
Para importarla a FIREBIRD, utilizo el siguiente script:
Y la Vista es algo como
El Caso es que, probandolo en el IBExpert, retorna siempre éste error: Error Message: ---------------------------------------- Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements. Error writing data to the connection. Ya no sé que variaciones realizar, he intentado varias formas y no hay manera. Os agradecería vuestras sugerencias al respecto, ¿qué hago mla? Gracias |
#2
|
||||
|
||||
Me respondo yo mismo, ya encontré la solución ... buf, aquí queda para quien le pueda servir.
Añadí la siguiente unidad con las definiciones que me hacian falta:
Así el código de la librería queda
La declaración de la función en Firebird será la siguiente:
Funciona correctamente, tan sólo queda contemplar aquellos casos en que la fecha de nacimeinto almacenada en la base de datos tenga un valor NULL. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Como montar una aplicacion ya realizada en delphi 6 a la web | Luis Alberto | .NET | 4 | 24-11-2005 15:53:49 |
Problemas al publicar web realizada con Delphi 7 e Intraweb | JoelCarlos | Internet | 0 | 25-04-2005 14:09:41 |
Subir pagina realizada en delphi 7 a internet | danytorres | Internet | 8 | 30-09-2004 19:47:09 |
Obtener el idventa de la ultima venta realizada | ctronx | Varios | 3 | 18-09-2004 16:43:06 |
Como editar un registro, en una tabla realizada en Ibaccess | CarlosHernandez | Firebird e Interbase | 1 | 03-10-2003 01:41:00 |
|