Woodnote Posted March 17, 2011 Posted March 17, 2011 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,
comment Posted March 17, 2011 Posted March 17, 2011 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now