Newbies Sonny Posted March 15, 2004 Newbies Share Posted March 15, 2004 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 Link to comment Share on other sites More sharing options...
CobaltSky Posted March 15, 2004 Share Posted March 15, 2004 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. Link to comment Share on other sites More sharing options...
Newbies Sonny Posted March 16, 2004 Author Newbies Share Posted March 16, 2004 Thank you very much for the help! Worked like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7361 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