The “IF COUNT = 1” Conundrum

  • Post comments:19 Comments
  • Reading time:10 mins read

If you haven’t read my yesterday’s post, then do that first.

Good. At this point you are extremely smart because you know that you should never use COUNT = 0 but should use ISEMPTY instead.

However, what if:

IF SomeTable.COUNT = 1 THEN
  DoSomething();

Well, if this is what you need, then that’s what you need. And that’s exactly what we needed in the team a few days ago.

(more…)

Continue ReadingThe “IF COUNT = 1” Conundrum