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

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

Recommended Posts

Posted

hi

mostly a general q: is there anyway to restrict users from using diffrent buttons and scripts unless they first execute a diffrent scrip?

the idea is that i want to create a maillist with a followup function. everytime i send a new mail to a contact i stick the contact_id, together with topic and date, into a table to keep track of the sent mails. if i want to make a followup on that mail i simply press the followup-button. now to the real q; how do i restrict a user frm pressing the followup-button without first pressing the regular mail button?

i figured i´d use the table as a sorting function. put new entries in a mail_1 coloumn and as soon as the first mail was sent, move them to a mail_2 coloumn. this way i could use an If[person exists in coloumn] = send mail, but i dont know how..?

any ideas?

Posted

Nils--

I have used a calculation field that evaluates to "Click ME!" or some such if a test is true (e.g., a regular mail has been sent), but "" if the test is false. Then, I place that calc field on the layout and make it a button that doesn't change the cursor to a hand. In my attached script, I test whether the calc has text, and if not, Exit the script. It's not elegant, but it works. I'm sure others have better and slicker ways!

David

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