FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
problemas con la ejecucion de mi aplicacion en delphi
hola amigos del foro:
tengo un problema cuando ejecuto mi aplicacion en delphi 7 me sale el siguiente error Project Project1.exe1 raised exception class EVariant TypeCastError with message 'Cold not convert variant of type (Null) into type (String)'. Process Stopped. Use Step or Run to Continue. lo vuelvo a ejecutar y me vuelve a dar ese error. Lo ejecuto varias veces y al final de 15 o 16 intentos recien corre el programa Por favor les pido una ayudita. Gracias |
#2
|
||||
|
||||
Hola
Tienes un problema en el codigo, en algun sitio estas haciendo una trasformacion de Variant a String y no la acepta. Coloca el codigo aqui, usa el depurador ( F7 o F8) asi veras donde da el error. Saludos |
#3
|
|||
|
|||
cuando lo depuro solo me marca los end. , la ultima fila de cada formulario y en ninguna parte aparece la palabra variant.
por favor una manito. |
#4
|
||||
|
||||
Hola
La palabra variant no te va a salir en ningun lado. Coloca el codigo que te da problemas aqui y lo vemos. Saludos |
#5
|
|||
|
|||
hola caral:
este es uno de los formularios en los que al depurar me sale la ultima fila resaltada. unit R_IVPIF; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, QRCtrls, jpeg, QuickRpt, ExtCtrls; type TRIVPIF = class(TForm) QuickRep1: TQuickRep; PageHeaderBand1: TQRBand; TitleBand1: TQRBand; ColumnHeaderBand1: TQRBand; DetailBand1: TQRBand; PageFooterBand1: TQRBand; QRLabel2: TQRLabel; QRImage2: TQRImage; QRSysData1: TQRSysData; QRShape1: TQRShape; QRLabel8: TQRLabel; QRLabel12: TQRLabel; QRLabel4: TQRLabel; QRLabel5: TQRLabel; QRLabel6: TQRLabel; QRLabel7: TQRLabel; QRLabel9: TQRLabel; QRLabel11: TQRLabel; QRLabel10: TQRLabel; QRLabel3: TQRLabel; QRLabel1: TQRLabel; QRDBText1: TQRDBText; QRDBText2: TQRDBText; QRDBText3: TQRDBText; QRDBText4: TQRDBText; QRDBText5: TQRDBText; QRDBText6: TQRDBText; QRDBText7: TQRDBText; QRDBText8: TQRDBText; QRDBText9: TQRDBText; QRDBText10: TQRDBText; QRDBText11: TQRDBText; QRLabel13: TQRLabel; QRLabel14: TQRLabel; QRLabel15: TQRLabel; QRLabel16: TQRLabel; QRLabel17: TQRLabel; QRDBText12: TQRDBText; QRLabel18: TQRLabel; QRLabel19: TQRLabel; QRLabel20: TQRLabel; QRDBText13: TQRDBText; QRDBText14: TQRDBText; QRDBText15: TQRDBText; private { Private declarations } public { Public declarations } end; var RIVPIF: TRIVPIF; implementation {$R *.dfm} USES MODULOENLACE; end. gracias. |
#6
|
||||
|
||||
Hola
Usa las etiquetas delphi, se vera mejos asi: ahora a pensar. Saludos |
#7
|
||||
|
||||
Hola
Aqui no hay nada, solo que usas un MODULOENLACE. No me dice nada. Saludos |
#8
|
|||
|
|||
Hola Caral aca me sale el error: haber si con esto me puedes ayudar por favor. El programa corre pero se ven feo los errores y no se si mas adelante me de problemas.
unit PRINCIPAL; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, jpeg, ExtCtrls, XPMan, Menus, Grids, DBGrids, Mask, DBCtrls; type Tmenucito = class(TForm)
|
#9
|
||||
|
||||
Hola
Que clase de datos contienen estos en la tabla?: @LOGINU @CONTRASENAU Osea, son integer, string, float, etc..... Saludos |
#10
|
|||
|
|||
Hola...
El error es por que en algún lugar tratas de usar un valor de tipo string de algún campo, pero en la base de datos ese campo no tiene valor (es NULL) y al tratar de hacer la conversión falla... Checa ese aspecto... Saludos... |
#11
|
|||
|
|||
holas chicos:
@login @contraseña son los parametros que envio a mi procedimiento almacenado, para comprobar la cuenta del usuario, y son de tipo char gracias por toda la ayuda. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
problemas con el Delphi al compilar aplicacion !!! | Goyo | Varios | 2 | 11-07-2007 17:25:05 |
Migración a 10g release 2 - Problemas con la aplicación de Delphi .NET | SMTZ | .NET | 2 | 11-07-2006 09:58:20 |
Creación de directorios en tiempo de ejecución desde aplicación Delphi | vick | Conexión con bases de datos | 1 | 16-12-2005 21:18:17 |
Creación de directorios en tiempo de ejecución desde aplicación Delphi | vick | API de Windows | 1 | 16-12-2005 21:13:35 |
Automatizar la ejecucion de una aplicacion | MarcoMae | Varios | 3 | 15-07-2005 16:00:03 |
|