I need to do a count of a "Schools" where the date range of "ID's Generated" is in the period lastfullweek.
I do not know how to get the syntax in the right order. Any help would be greatly appreciated.
This is what I have, exactly:
@rec_tot} // add to record, suppress field
numberVar tot := 0
if tot < 360 then
(if {Table.Charge} in [0,1] then tot := tot + 1)
else
if {Table.Charge} = 1 then tot := tot + 1;
tot
And I still get the "The reamining text..." error, right where...
If I take out:
@rec_tot}
This is what I have:
WhilePrintingRecords;
numbervar tot:=0;
if tot < 360 then
(if {TASKS.CHARGE} in [0,1] then tot := tot + 1)
else
if {TASKS.CHARGE} = 1 then tot := tot + 1;
tot
And the output is 1.00
How do I get the array to know which field to pull information from?
I keep getting "This field name is not known"
Thanks so much for your help.
I have a field named "Charge" that will either have a value of 0 or 1, for a number of records.
I need to count every instance (over a period of a month) of 0 and 1, until they equal 360, and then only count every instance of 1 after that for the rest of the month.
Is this possible?
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.