pegaga1979
1st April 2015, 11:06
Hi,
i would like to carry value from after.field to after.report.
i hv used same field name, but failed.
anyone can help?
tq.
bhushanchanda
1st April 2015, 11:58
Hi,
What are you trying to achieve?
Try assigning the value to a variable in your report script and then try using it in after.report. May be somewhere your field is getting initialize. Debug and check for inconsistencies.
vamsi_gujjula
1st April 2015, 16:57
define a field in report script ,
assign the value in after.field
use that in after . report
but the value will be always over written
pegaga1979
6th April 2015, 05:12
Hi Bhushan,
i hv done summation in after.field and then would like to carry the amount in after.report on report layout.
mark_h
6th April 2015, 15:30
You should be able to use the same field name in after.report as you did in after.field. So for example in after.field you use total.inv with aggregate function set to total for a supplier or customer sort - then in the after.report you could use total.inv also with total as the aggregate function. In this case the after.report would have the total value for all customers or suppliers. If there is something different you are doing then you will need to explain it.
bpanda
8th April 2015, 15:32
If you are using standard Aggregate function on report layout then it will work as per Mark.
If you are doing calculation on report script for summation then assign the value to another variable on before.layout (just after calculation) of that after.field and use that on after.report.
One thing check if you have that variables declared on report script,
if declared on report script then that should not be in the report's input field list. This will initialize the variable. Only those variables not declared on the report script can be added to input field list.
Check these things you will get what you want.
Thanks & Regards
Biswajyoti Panda