PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Show Count of Table Footer
Show Count of Table Footer
Iniciado por Ruan, 01,jul. 2015 15:48 - No hay respuesta
Miembro registrado
208 mensajes
Popularité : +1 (1 vote)
Publicado el 01,julio 2015 - 15:48
Good day

I have looper and I added the header and footer. I have managed to my title in my Header how can I sow the count of the items in the Break? Here is my Code:

HeaderSubscript is int
HeaderSubscript = TableBreakSubscript(BRK_BreakHeader1)

nFooterSubscript is int
nFooterSubscript = TableBreakSubscript(BRK_BreakFooter1)

RowSubscript is int

FOR EACH CIA_TASK_VIEWER WHERE USER_DATE = [gnPersonID,Today()]
RowSubscript = TableAddLine(LOOP_MY_TASKS,CIA_TASK_VIEWER.TASK_TITLE,CIA_TASK_VIEWER.TASK_TYPE)

HeaderSubscript = TableBreakSubscript(BRK_BreakHeader1, RowSubscript)
nFooterSubscript = TableBreakSubscript(BRK_BreakFooter1, RowSubscript)

LOOP_MY_TASKS[HeaderSubscript].STC_NoName1 = CIA_TASK_VIEWER.TASK_TYPE
LOOP_MY_TASKS[nFooterSubscript].STC_NoName2 = nFooterSubscript
END


Thanks