davepain Posted November 25, 2002 Share Posted November 25, 2002 I have a main DBase with a portal looking into a second DBase with multiple records sorted by a feild in that DBase called Margin, I want to make a script that enters a calculated result on the main DBase if their is a record in portal row 1 and the margin feild on this portal row is greater than 15 and Portal row 2 must also be empty. For some reason although this seems to be quite an easy script it will not work, does not seem to be able to tell when the feild is emply or valid, is this something to do with the portal, if there is no 2nd record in the portal does this mean you can not use an isempty statement?? Help!! Link to comment Share on other sites More sharing options...
djgogi Posted November 25, 2002 Share Posted November 25, 2002 You should check for condition "only one related record presents" using for example: If[count(relName::notEmptyFieldInRelatedDB)] do Something End if Dj Link to comment Share on other sites More sharing options...
davepain Posted November 25, 2002 Author Share Posted November 25, 2002 Thanks, thats sorted it! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7958 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