Obtaining a count of records that will be retrieved byEXECUTE_QUERYbeforeactually performing it in a database block is especially useful when the requirement is toprevent navigation to a block whenquery hits are zero. A typical scenario of such a situation is when the detail block records exist on a separate canvas not visible on Form startup and the user is required to click a Details button to see them. Giving an alert message such asNo Details existwhen the user clicks the Details button is more meaningful than displaying a blank details screen, when no details exist for the chosen parent record.