August 2, 200124 yr I have 12 different sections in my database on each section it will total up. Some of these sections may not be filled out yet. I need to create a calculation base on the number of sections that contain totals. For example section 1 has the total
August 2, 200124 yr The only way that I can think of is to have another set of fields that simply set a flag (1 or 0) on a completed "section". You then have another field which counts those flags and use that as the divisor for your averages.
August 2, 200124 yr Author RET I am pretty much a beginner at calculations, so could someone please give me an example on how I would write a calculation like that. Flag those fields that are not empty or have a "0" in them. Please HELP! RET
August 2, 200124 yr if ( not isempty ( TotalField1 ) ) will result in a 1 if there is something in the field, or a 0 if not. Alternately you could test for a value: if ( TotalField1 >= 1 ) which will result in a 1 if the TotalField1 is greater than or equal to 1.
Create an account or sign in to comment