RedKetchup Posted August 11, 2010 Posted August 11, 2010 hello I explain what I want to do, I have 2 tables one country and another contact .... In my country I have a button layout that allows me to open the Contact layout. The script which displays all contacts related to my country is 'Go to related record. Until here I have no problem, but when ther is no Contact related to the country the layout does not Open. This is normal since I use the script 'Go To record related ....' So I push my script. Tell me if I'm on the right track. If I validate my id in my table country .. I think it makes sense. But it does not work ... My new script is the following 1 - go to layout ['contact'] 2 - if [isEmpty (COUNTRY:: ID)] 3 - NEW Record / Request 4 - Else 5 - Go To record related ....... 6 - End if In the Script Debugger It do the go to layout ['contact'] but the next line 'IF [isEmpty (COUNTRY:: ID)]' it leaves the Debugger. Can you help me
comment Posted August 11, 2010 Posted August 11, 2010 See if this helps: http://fmforums.com/forum/showtopic.php?tid/216098/post/362655/#362655
RedKetchup Posted August 11, 2010 Author Posted August 11, 2010 Yes Sir that it ... i hade to change the script but it help me very mutch So So nice of you.... thanks Sylvain
Recommended Posts
This topic is 5491 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