I have a label that calculates a total :
Text(Sum(LblCurrentValue.Text)-Sum(GalleryNewOrders.AllItems,TxtOrderValueNew.Text),"[$-en-US]€ #,##")
works great and calculates correctly. However when I have finished entering date I want the final calculation to be patched back to a sharepoint list.
My patch command works fine but it patches back the value from the first part of the sum (lblCurrentValue.text) which is a static field (and which is the same figure before any calculations are done) in other words it doesn't take the final calculated figure?
I've tried adding another label and using its default as the calculatinglabel.text and patching that back but that doesn't work either still it takes the old figure..
How Can I take my final calculated figure and make it static so that it will patch back correctly?