Error eXpress

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Error eXpress

#1 Post by digitsoft »

Hello Roger
Not because my system generates this error
when I minimize and then maximized the system

this error is being generated.

this is a mistake and I could eXpress
know what is creating this error.

But I have an idea and have added a BMP
in giving the main menu, and I this
generating a lot of blinking and I think the error
what is creating this.


Paulino Nolberto
Regards
Attachments
Example
Example
Error eXpress.JPG (175.22 KiB) Viewed 8825 times
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Error eXpress

#2 Post by rdonnay »

It appears that this is happening when repainting the browse.
Are you closing the database when minimizing?
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Error eXpress

#3 Post by digitsoft »

Hello Roger
Do not close the database, at any moment, but I have noticed that this error only when I use does DCBROWSE.

Just close the Database to Press the Button Cancel or Exit

Paulino Nolberto
Regards
Nolberto Paulino
Regards

User avatar
Tom
Posts: 1171
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Error eXpress

#4 Post by Tom »

A (in the screenshot not visible) browse is to be refreshed due to a call to DC_AutoResize. This browse references a database and tries to reread the datalinks now, but it can't access the fields of the table. This may happen because it's build this way:

Code: Select all

@ 0,0 DCBROWSE oBrowse DATA 'mydb' ...
DCBROWSECOL FIELD name PARENT oBrowse
Using "FIELD" without an alias works only if the workarea is selected everytime something is happening in the browse. If another workarea is selected if the browse is refreshed, it crashes. If so, change to:

Code: Select all

DCBROWSECOL FIELD mydb->name 
or

Code: Select all

DCBROWSECOL DATA {||mydb->name}
Another reason may be that an alias is used, but the table was closed inbetween.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Error eXpress

#5 Post by digitsoft »

Look this is the code

Paulino Nolberto
Regards



@ 2.7,00.7 DCBROWSE oFPendiente ALIAS "PVCAM02" SIZE 67.7,09.6 PRESENTATION aBrowPres ;
CURSORMODE XBPBRW_CURSOR_ROW ;
PARENT oTabPage3 ;
HEADLINES 2 ;
NOSOFTTRACK ;
SCOPE

DCBROWSECOL DATA {|x| IIF(PVCAM02->Enviado,CHECKBOX_ON,CHECKBOX_OFF) } ;
HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND ;
HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} ;
PARENT oFPendiente HEADER "SE;CT" WIDTH 1 ;
TYPE XBPCOL_TYPE_BITMAP ;
eval {|oB|oB:dataArea:lbClick := {|a,b,o| MarcarDesMarcar(aApp, GetList) } } ;
FONT "08.Arial Bold" ;
PROTECT {|o| .T. }

DCBROWSECOL FIELD PVCAM02->Documento HEADER "Nº;DOCUMENTO" WIDTH 06 PARENT oFPendiente HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->Fecha HEADER "FECHA;DOCUMENTO" WIDTH 06 PARENT oFPendiente PICTURE "@D" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL DATA {|| CalDiaVencidos(PVCAM02->Fecha,PVCAM02->DiaVencido ) } HEADER "DIAS;VENCIDO" WIDTH 03 PARENT oFPendiente PICTURE "99,999" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->ITbis HEADER "MONTO;ITBIS" WIDTH 05 PARENT oFPendiente PICTURE "99,999.99" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->Total HEADER "MONTO;DOCUMENTO" WIDTH 06 PARENT oFPendiente PICTURE "999,999.99" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->BCE_Cap HEADER "BALANCE;PENDIENTE" WIDTH 07 PARENT oFPendiente PICTURE "9,999,999.99" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->CodCaj HEADER "Nº;CAJA" WIDTH 03 PARENT oFPendiente PICTURE "@!" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND PROTECT {|o| .T. }
DCBROWSECOL FIELD PVCAM02->NCF HEADER ";NCF" WIDTH 12 PARENT oFPendiente PICTURE "@!" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND PROTECT {|o| .T. }


@ 12.5,00.5 DCSAY bTotalFacturaMarcada COLOR GRA_CLR_BLUE,GRA_CLR_WHITE SAYSIZE 67.7,1.0 PARENT oTabPage3 FONT '13.Arial Bold'
@ 12.5,49.9 DCGET cTotalFacturaMarcada POPUP {|d| NIL } PICT "99,999,999.99" PARENT oTabPage3 EDITPROTEC {|| .T. }
Nolberto Paulino
Regards

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Error eXpress

#6 Post by digitsoft »

Look this is the code

Code: Select all

 



@ 2.7,00.7 DCBROWSE oFPendiente ALIAS "PVCAM02" SIZE 67.7,09.6 PRESENTATION aBrowPres ;
CURSORMODE XBPBRW_CURSOR_ROW ;
PARENT oTabPage3 ;
HEADLINES 2 ;
NOSOFTTRACK ;
SCOPE

DCBROWSECOL DATA {|x| IIF(PVCAM02->Enviado,CHECKBOX_ON,CHECKBOX_OFF) } ;
HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND ;
HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} ;
PARENT oFPendiente HEADER "SE;CT" WIDTH 1 ;
TYPE XBPCOL_TYPE_BITMAP ;
eval {|oB|oB:dataArea:lbClick := {|a,b,o| MarcarDesMarcar(aApp, GetList) } } ;
FONT "08.Arial Bold" ;
PROTECT {|o| .T. }

DCBROWSECOL FIELD PVCAM02->Documento HEADER "Nº;DOCUMENTO" WIDTH 06 PARENT oFPendiente HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->Fecha HEADER "FECHA;DOCUMENTO" WIDTH 06 PARENT oFPendiente PICTURE "@D" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL DATA {|| CalDiaVencidos(PVCAM02->Fecha,PVCAM02->DiaVencido ) } HEADER "DIAS;VENCIDO" WIDTH 03 PARENT oFPendiente PICTURE "99,999" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->ITbis HEADER "MONTO;ITBIS" WIDTH 05 PARENT oFPendiente PICTURE "99,999.99" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->Total HEADER "MONTO;DOCUMENTO" WIDTH 06 PARENT oFPendiente PICTURE "999,999.99" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->BCE_Cap HEADER "BALANCE;PENDIENTE" WIDTH 07 PARENT oFPendiente PICTURE "9,999,999.99" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND
DCBROWSECOL FIELD PVCAM02->CodCaj HEADER "Nº;CAJA" WIDTH 03 PARENT oFPendiente PICTURE "@!" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND PROTECT {|o| .T. }
DCBROWSECOL FIELD PVCAM02->NCF HEADER ";NCF" WIDTH 12 PARENT oFPendiente PICTURE "@!" HEADPRES {{ XBP_PP_COMPOUNDNAME, '8.Arial Bold' }} HCOLOR GRA_CLR_BLUE, XBPSYSCLR_INFOBACKGROUND PROTECT {|o| .T. }


@ 12.5,00.5 DCSAY bTotalFacturaMarcada COLOR GRA_CLR_BLUE,GRA_CLR_WHITE SAYSIZE 67.7,1.0 PARENT oTabPage3 FONT '13.Arial Bold'
@ 12.5,49.9 DCGET cTotalFacturaMarcada POPUP {|d| NIL } PICT "99,999,999.99" PARENT oTabPage3 EDITPROTEC {|| .T. }
Paulino Nolberto
Regards
Nolberto Paulino
Regards

Post Reply