I seem to be missing something about when row equations are run. Let me walk through some things I tried, and perhaps someone can tell me why they didn’t work. Then I can update the row equations wiki page that I helped write in the first place :).
I created a new date field called ItemDate. I added the following to ItemDate and clicked recalculate. This did nothing. Perhaps because none of the items had this field (and therefore its row equation isn’t run)?
ItemDate = now()
So next I decided to add the Row Equation to another field I knew the items had, a text field I have called BatchArea. I hit recalculate. This did nothing either.
ItemDate = now()
So maybe I just am missing something with dates, so I tried this simple row equation in BatchArea. Hitting recalculate did nothing. Editing the batchArea field on an individual item did nothing either.
TaskID = 22
Finally, I tried an auto-assign on BatchArea to see if I could just get something to take a value. This works when I edit BatchArea, so I am missing something about when row equations are run.
AM:TaskID = 22
Thanks,
dave
I created a new date field called ItemDate. I added the following to ItemDate and clicked recalculate. This did nothing. Perhaps because none of the items had this field (and therefore its row equation isn’t run)?
ItemDate = now()
So next I decided to add the Row Equation to another field I knew the items had, a text field I have called BatchArea. I hit recalculate. This did nothing either.
ItemDate = now()
So maybe I just am missing something with dates, so I tried this simple row equation in BatchArea. Hitting recalculate did nothing. Editing the batchArea field on an individual item did nothing either.
TaskID = 22
Finally, I tried an auto-assign on BatchArea to see if I could just get something to take a value. This works when I edit BatchArea, so I am missing something about when row equations are run.
AM:TaskID = 22
Thanks,
dave
Comments
= ZN(- [Amount] * [paid] )
. If you change the "amount" or "paid" values, Actual$ will change accordingly.More importantly, the following only updated Project fields IF they had a Category field:
Function mySum(IncludeIt, x) ' Calculates the sum of the array x if IncludeIt is true
dim d, i
d=ubound(x)
for i=0 to d
if IncludeIt(i)=true then mySum = mySum+NZ(x(i))
next
end Function
MyValue = IIF(MyValue, MyValue, Sum(%CHILDREN[MyValue]))
ItemDate = now()