Bueno ya me actualicé y los errores que tenía se fueron, peroooooooooooo, no podía faltar el pero, obtengo un nuevo error.
En el diálogo de albaranes tengo tres botones, aceptar, cancelar y salir. El primero acepta los datos, graba la cabecera y las lineas del albarán y prosigue el diálogo, para un nuevo albarán. El segundo cancela todos los datos y vuelve para introducir de nuevo un albarán. El tercero es para salir del diálogo.
Pues bien, si pulso el boton cancelar y despues de poner la pantalla con tan sólo el número de albarán y la fecha,(datos iniciales predefinidos) y a continuación pulso el boton salir, obtengo este error.
Code: Select all
Error description: Error BASE/1066 Argument error: conditional
Args:
[ 1] = U
Stack Calls
===========
Called from: .\source\classes\DIALOG.PRG => TDIALOG:END(0)
Called from: C:\PROYEC~1\Gfactu\Source\gesh0200.prg => (b)ALBARANES(219)
Called from: .\source\classes\BUTTON.PRG => TBUTTONBMP:CLICK(0)
Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT(0)
Called from: .\source\classes\BUTTONB.PRG => TBUTTONBMP:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOX(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: C:\PROYEC~1\Gfactu\Source\gesh0200.prg => ALBARANES(224)
Called from: C:\PROYEC~1\Gfactu\Source\geshinic.prg => (b)MAIN(86)
Called from: .\source\classes\MENU.PRG => TMENU:ACTIVATE(0)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:SHOWPOPUP(0)
Called from: C:\PROYEC~1\Gfactu\Source\geshinic.prg => (b)MAIN(96)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK(0)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(0)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: C:\PROYEC~1\Gfactu\Source\geshinic.prg => MAIN(179)
REDEFINE BUTTONBMP ID 223 OF oDlgAlb BITMAP "SALIR1" TEXTRIGHT CANCEL ACTION oDlgAlb:End()
¿Alguna ayudita para esto?
Un saludo a todos
Pedro