‎2007 Sep 04 7:37 AM
hi experts,
in smartforms if i need to take sum of one field suppose ntgew..where shud i do the calculation work..
regards,
raman
‎2007 Sep 04 7:40 AM
create program lines in smartform, provide appropriate input and output paramters and carry out calculations dere....
if dere is ny confusion leme kno
‎2007 Sep 04 7:40 AM
HI Raman,
You can add "Flow Logic" by right clicking on the element. Here, you can do all type of calculations & Data fetching.
Reward if helpful.
Regards,
Siddhesh Sanghvi.
‎2007 Sep 04 7:44 AM
hi,
in the form you have to do that.
if u r printing it using table goto that field NTGEW
under that write code->
right click the text->create->flow logic->program line
declare one variable in global data(tot)
take ntgew as input parameter and tot as output parameter
tot = to + wa-ntgew.
print tot in footer
‎2007 Sep 04 7:46 AM
If you are using TABLE contruct to print data and want to sum certain value then you can specify that field in CALCULATION tab of TABLE contruct. There are three options available there SUM, AVG and CNT. You can use function SUM
‎2007 Sep 04 7:52 AM
If you are using table or loop. You could use a calculation tab in the table or loop element.