REFRAISING...I did not initialize the variable.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
numbervar WednesdayCount;
if DayOfWeek ({table.event.date}) = 4 then
WednesdayCount := {#DayWorkedTotal}//please note that I am not trying to increment the value, just replace it...
I did this, and it works, but it does not retain the value. If at the 'if' evaluates to true then it stores the value, but if it evaluates to false in the following record, it resets the value to 0 even knowing that I am not stating an 'else' statement to reset to 0. I had the same problem by...
I am still confused on where do I declare the variable.
Example:
Let's say that I have 2 fields in a report, 1) Last Name 2) First Name. I want to run a formula that evaluates the Last Name and if the last name = "Smith" I want this formula to store the number 1 in a variable. At the end of...
Thanks for the tip, I will try to use examples instead.
The problem that I have is that I am trying to format the report to look like a spread sheet, but the crosstab is not an option (at least to my abilities). What I am trying to do is to run totals for each day of the week, but I want to...
I need to create a running total that gets incremented using two conditions: "on change of group" and if another field = to an specific value. If I choose the "On change of group" option, then I cannot use the formula for the other field, and If I use the formula option to specify the other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.