Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I'm trying to create a script (that will function on any layout—that is, one that doesn't need any field names or layout names written into the script itself) loop through all of the fields in the current layout once, count the number of fields that are empty on the current layout, and then set a variable "$Empty_Fields" to that number (the number of empty fields on the current layout). I'm struggling though and I know that one of you guys can whip upa simple script in seconds that'll accomplish this...any help would be greatly appreciated!

thanks,

Posted

It is simple, if you loop through the values returned by FieldNames() using GetField(). However, I would question why you need this - it sounds like a symptom of a deeper issue.

This topic is 5000 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.