Created
November 24, 2020 06:18
-
-
Save CubeYogi/405172b24f9999060fd246e1e198ad96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Declaring total amount | |
total_amount = 0; | |
//Getting subform entry | |
subform_entry = input.<name ofsubform>; | |
for each entry in subform_entry | |
{ | |
//Calculating total | |
total_amount=total_amount + entry.<field of price>; | |
} | |
//Updating total amount | |
input.<total field> = total_amount; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment