How can I update the DCBROWCOL FOOTER

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

How can I update the DCBROWCOL FOOTER

#1 Post by unixkd »

Hi all

How can I update the DCBROWCOL FOOTER in DCBROWSE ... EDIT Array at runtime. After editing a cell and want to display the total in the footer.

Thanks

Joe

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

Re: How can I update the DCBROWCOL FOOTER

#2 Post by Tom »

Code: Select all

DCBROWSECOL .... FOOTER {||CalculateThisFooter(<yourparams>)}
RefreshAll() will not update this footer, but DC_GetRefresh(GetList/oBrowse) will do.
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: How can I update the DCBROWCOL FOOTER

#3 Post by digitsoft »

DCBROWSECOL DATA {|| SQLFieldGet(oPVCAM02F,"BCE_Cap") } HEADER "BALANCE;PENDIENTE" WIDTH 08 PARENT oFPendiente PICTURE "9,999,999.99" eval {|oB|oB:dataArea:lbClick := {|a,b,o| SetAppFocus( IIF(lFactura,oFactura,oNombre) ) } } OWNERDRAW FOOTER {|| "" } FOOTPRES aFootPres OBJECT oColColumn4 // ALIGN XBPALIGN_RIGHT


Esta es para Cambiar el Footer
oColColumn4:footing:setcell(1 ,TRANSFORM(SQLFieldGet(oBaseDeDatos,"nBalance"),"9,999,999.99"), ,.T.)
oColColumn4:footing:invalidaterect(oColColumn4:footing:cellrect(1))
Nolberto Paulino
Regards

Post Reply