Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding smartforms

Former Member
0 Likes
586

hi experts,

in smartforms if i need to take sum of one field suppose ntgew..where shud i do the calculation work..

regards,

raman

5 REPLIES 5
Read only

former_member188827
Active Contributor
0 Likes
567

create program lines in smartform, provide appropriate input and output paramters and carry out calculations dere....

if dere is ny confusion leme kno

Read only

Former Member
0 Likes
567

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.

Read only

Former Member
0 Likes
567

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

Read only

Pawan_Kesari
Active Contributor
0 Likes
567

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

Read only

Former Member
0 Likes
567

If you are using table or loop. You could use a calculation tab in the table or loop element.