Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

... I have problems sometimes with buttons that are assigned a script to goto a layout when a certain criteria is met... the button ignores all the criteria and decides to default to the first layout in my list of approx 150 layouts (this happens approx 1/50 times)... why is this? (Multi User Solution hosted on Server 7).

Posted

How does the script specify the layout? Is it chosen from the popup or calculated. If it's manually specified, I'm stumped... If it's calculated, the calc must be returning the wrong name or # under certain conditions. As an extra check, put turn error capture on and check for an error immediately after the Go To Layout step.

Posted (edited)

its manually selected, i cant be stuffed writting out the script so attached is a screen shot...

p.s. there is nothing wrong with the relationship...

untitled.JPG

Edited by Guest
Posted

I assume the relationship is based off the "account name" field. In that case, I'm stumped. Have you tried recovering the file to see if it has any errors?

Posted

Maybe there are no records selected or there is a record lock active.

The "Set Field" will fail in both circumstances.

Turn on error trapping at the start of the script, and write your own custom error trap dialogs ot report the error number.

See the FMD7 help for more info on recovering files, and error trapping.

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