Jump to content

How to account for "no related records" in a script


This topic is 6239 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm trying to write a script to loop through records in my Project table, and for each project, print a report of the related records (from a different - related - table).

How do I make my script account for the instance where no related records exist? (i.e., if no related records in table B, loop to next record in the Project table)

It doesn't seem to be an "error" per se, so I don't think the get (lasterror) function will do the trick (that was my first thought).

~Courtney

Link to comment
Share on other sites

This topic is 6239 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.