QuestionQ117

VerifiedScripting and Automation

A developer used LookupRows to retrieve data while building a dynamic email.

What should they do next before using this rowset in a FOR loop?

Explanation

LookupRows returns a rowset that can be empty. RowCount determines how many rows it contains, allowing the code to confirm that data exists and use the count as the FOR loop boundary.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!