Help me understand if this logic is correct

@Shilpa_Mohanty

simple would be to use a if condition with currentquery.rowcount=0 OrElse counter=4 …in then end the process …on else do your steps of comparision

cheers