AWK variable in Main script??? solved

Using an awk script , i want to store the value of a variable in the main script.
currently sum is getting reset to blank in the main script.

How to modify the below code to get the value of esum in the variable sum of the main script???

sum=`echo "$row" | awk -F"[;: ]" '{$esum=$5}'`

---------- Post updated at 09:28 AM ---------- Previous update was at 09:25 AM ----------

Solved guys

sum=`echo "$row" | awk -F"[;: ]" '{$esum=$5};echo $esum'`