Jump to content

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

Recommended Posts

  • Newbies
Posted

Is there any way to tell whether or not a container field is empty by using a script?

Version: Developer v7

Platform: Mac OS X Jaguar

Posted

Yes, there is.

The IsEmpty( ) function will return a 1 if the field it references is empty, or a 0 if it is not empty, and this works for container fields as well as other types.

You can use IsEmpty( ) in a script by insertinmg it in a test such as an If[ ] step - eg:

If ["IsEmpty(YourContainerField)"]

{...do your stuff here...}

End If

This is one of the things that hasn't changed between versions 6 and 7. wink.gif

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