August 2024 archive

IsEmpty + FindSet or just FindSet?

A few days ago, I got pointed to this question on LinkedIn: https://www.linkedin.com/posts/alexander-drogin-0635422b_hey-business-central-developers-im-looking-activity-7231695259485839362-n670?utm_source=share&utm_medium=member_desktop Or in other words:  Is it a good practice to first test of a set is empty, to then get the set of records? I had a few thoughts:First, I was like: duh.  Stupid question.  2 SQL roundtrips in stead of 1 …

Continue reading

Permanent link to this article: https://www.waldo.be/2024/08/23/isempty-findset-or-just-findset/