Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Grabbing the current data value
jballnik
Hi Gang,
I would like to start a running summation of a dollar amount within the script for a Data Value component. I see that there are several methods to choose from including OnPrepare and OnRender. My question is how to capture the current value of the data field? In the expression building the value is this:
dataSetRow["payamount"]
but this code in the script does not work:
payAmount = payAmount + dataSetRow["payamount"]
How do you represent dataSetRow["payamount"] within the script method.
thanks,
John B
Find more posts tagged with
Comments
mwilliams
Hi John B,
What element's script are you doing this in? The data element that contains the data you're trying to sum's script? Let me know.