fawzy_i_05
26th November 2013, 11:25
Hello Developers,
Could you please give me advance how can i make a summarized fields in the bottom of customized session please refer me to any exist threads
I have attached a standard session to help you what I exactly want to do.
bhushanchanda
26th November 2013, 12:41
Hi,
Declare the total fields for each form field for which you want to display the totals at the bottom.
Say I have a form field tcbed001.quan so I will declare:
extern domain tcqiv1 quan.tot
Now, add these line to your code,
before.program:
fattr.total.line = true
Now, for the fields you want the total to be displayed, do this:
on.display.total.line:
calc.total() | You will need to calculate the total manually using some function.
display.total.fields("tcbed001.quan",quan.tot)
Also, you can call refresh.total.line() to trigger a refresh to this field.
That's it.
fawzy_i_05
27th November 2013, 14:31
thx bhushanchanda its works probably
bmcfarla
16th June 2016, 22:28
Although the "Programmers Guide" is quite useful for these types of things, there's almost nothing better than seeing an example first-hand in a reply like this.