PREVIEW. ERROR BASE/1079

Post Reply
Ramón J.
Posts: 79
Joined: Mon Feb 13, 2006 8:23 pm

PREVIEW. ERROR BASE/1079

Post by Ramón J. »

Hola a todos.

Cuando trato de sacar un listado con la cláusula PREVIEW me lanza el siguiente error:

Error description: Error BASE/1079 Argument error: .OR.
Args:
[ 1] = L .F.
[ 2] = U

Sin embargo, si lo lanzo directamente a la impresora sale perfectamente.

He tratado de compilar el TESTRPT2 que hay en SAMPLES y también me da el mismo error.

Application
===========
Path and name: E:\FWH\SAMPLES\TESTRPT2.exe (32 bits)
Size: 1,079,296 bytes
Time from start: 0 hours 0 mins 7 secs
Error occurred at: 02/22/06, 18:17:04
Error description: Error BASE/1079 Argument error: .OR.
Args:
[ 1] = L .F.
[ 2] = U

Stack Calls
===========
Called from: => TWINDOW:ERASEBKGND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => _FWH(0)
Called from: => SHOWWINDOW(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: => RPREVIEW(0)
Called from: => (b)NEW(0)
Called from: => TREPORT:ACTIVATE(0)
Called from: => MAIN(51)

Cómo se soluciona?

Gracias
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ramón,

Es un error que se ha colado en el build de Febrero de FWH. Para solucionarlo hay que modificar la Clase TSay en classes\say.prg de la siguiente forma:

Code: Select all

METHOD EraseBkGnd( hDC ) CLASS TSay

   DEFAULT ::lTransparent := .f.

   if IsAppThemed() .or. ::lTransparent
      return 1
   endif

return Super:EraseBkGnd( hDC )
Recompilas la clase y añades el OBJ resultante a los OBJs de tu aplicación. A comienzos de Marzo publicaremos un nuevo build que corrige este problema.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Ramón J.
Posts: 79
Joined: Mon Feb 13, 2006 8:23 pm

Post by Ramón J. »

Gracias, Antonio

Saludos
Post Reply