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

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

Recommended Posts

Posted

Hi all,

I have a button that performs a script that can only be run once per record. Is there a way of reading a field in the table that stores whether the script has been run and then hiding the button so that it cannot be run again?

many thanks

Rich

Posted

You will need to set a field with a flag indicating that it has been run for it. I would just set it with the record's Primary Key so it will be easier for you when you create the self join using this technique.

Visibility

Posted

You might achieve a similar effect by dimming the button's text (assuming it's a text button and not a graphic) using conditional formatting.

The button's script can throw a dialog and exit if the flag field has been set.

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