patriciosoria
14th January 2010, 00:23
Necesito desplegar los totales de ciertos campos en el grid, estoy utilizando una sesión Multi Main Table, me aparece la línea de los totales pero con valores 0 y no suma ni actualiza los totales cuando se cambia algún valor, para ello el código en la sesión satelite es el siguiente:
declaration:
table tpmgld023 | Detalle de registros de conciliacion
extern domain tfgld.amnt g.amnt.d, g.amnt.c, g.amth.d, g.amth.c
before.program:
fattr.total.line = true
on.display.total.line:
display.total.fields( "pmgld023.amth.d", g.amth.d,
"pmgld023.amth.c", g.amth.c,
"pmgld023.amnt.d", g.amnt.d,
"pmgld023.amnt.c", g.amnt.c )
field.pmgld023.amnt.d:
when.field.changes:
refresh.total.line()
field.pmgld023.amnt.c:
when.field.changes:
refresh.total.line()
De antemano muchas gracias por la ayuda
Patricio
declaration:
table tpmgld023 | Detalle de registros de conciliacion
extern domain tfgld.amnt g.amnt.d, g.amnt.c, g.amth.d, g.amth.c
before.program:
fattr.total.line = true
on.display.total.line:
display.total.fields( "pmgld023.amth.d", g.amth.d,
"pmgld023.amth.c", g.amth.c,
"pmgld023.amnt.d", g.amnt.d,
"pmgld023.amnt.c", g.amnt.c )
field.pmgld023.amnt.d:
when.field.changes:
refresh.total.line()
field.pmgld023.amnt.c:
when.field.changes:
refresh.total.line()
De antemano muchas gracias por la ayuda
Patricio