![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When a summary result of several fields, in a table,with numbers, is used in a subsequent calc the result is as expected. (Summary + x = answer) If the summary is of a field that are all empty the result is OK the summary is Zero and the calc returns the other value.(Summary + x = x) If the summary is of a field where there are actually NO RECORDS, in the table, then the result does not calculate at all even though the other term has a value. (Summary + x = nothing )Just a blank field is displayed Is there an explanation or is that the way it is? :-? |
)
#3
| |||
| |||
|
|
In article <voOdnaAlt8SGoZ_SnZ2dnUVZ_rOdnZ2d (AT) westnet (DOT) com.au>, John G greentest (AT) ozemail (DOT) com.au> wrote: When a summary result of several fields, in a table,with numbers, is used in a subsequent calc the result is as expected. (Summary + x = answer) If the summary is of a field that are all empty the result is OK the summary is Zero and the calc returns the other value.(Summary + x = x) If the summary is of a field where there are actually NO RECORDS, in the table, then the result does not calculate at all even though the other term has a value. (Summary + x = nothing )Just a blank field is displayed Is there an explanation or is that the way it is? :-? I haven't got a version of FileMaker Pro in front of me, but there's an option in the Define Calculation window to tell FileMaker what to do if the source field(s) are empty - try turning that option on (or maybe it's off, I can't recall which way around the option is worded). The other option is to create this option yourself by checking for an empty Summary field. e.g. Calc Calculation Field Number Result = If (IsEmpty(Summary); X; Summary + X) Helpful Harry ) |
#4
| |||
| |||
|
|
Thanks Harry, I think I have tried every combination of the IF EMPTY check box but I could have got it wrong. I had thought of doing some check and you have saved me the trouble. Your IF statement looks like the answer but I have not had time to test it yet. I should have said I am using FM P 11 |
)![]() |
| Thread Tools | |
| Display Modes | |
| |