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

Help in smartforms

Former Member
0 Likes
736

Hi

I want to calculate the subtotal for a particular line in smartforms. Can anyone help me with this

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
718

Hi Musarrat

use a variable to calculate the value in coding.....and use it as a text element

<b>

Regards,

Azhar</b>

7 REPLIES 7
Read only

Former Member
0 Likes
719

Hi Musarrat

use a variable to calculate the value in coding.....and use it as a text element

<b>

Regards,

Azhar</b>

Read only

Former Member
0 Likes
718

JUST ENTER NEW PROGRAM LINES NODE AND DO THE CALCULATION. YOU CAN USE GLOBLE VARIABLES.

Read only

Former Member
0 Likes
718

Check this thread.

Reward if helpfiul.

Read only

Former Member
0 Likes
718

HI Husain,

Just tell me details abt your tables and field on the basis of which you want total and subtotal. how many table u r using.

ple elaborate the problem.

Regards

Azad.

Read only

Former Member
0 Likes
718

Hello Husain

You can do it inside the loop node in smartform.

I can give you the code if you can explain more about the requirement.

Cheers

Shafiq

Read only

Former Member
0 Likes
718

Hi,

Check the standard program:

SF_EXAMPLE_02

Similar to SF_EXAMPLE_01 but with subtotals .

Regards,

Bhaskar

Read only

Former Member
0 Likes
718

First you design the smartform ,then in print program get the all data into tables and work area.

Use Internal table events to get sub totals...

At end of field.

sub totals

endat.

at last .

grand totals.

endat.

Reward Points if it is useful

Thanks

Sudheer