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
How can I update the DCBROWCOL FOOTER
Re: How can I update the DCBROWCOL FOOTER
Code: Select all
DCBROWSECOL .... FOOTER {||CalculateThisFooter(<yourparams>)}
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: How can I update the DCBROWCOL FOOTER
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))
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
Regards