July 17, 200619 yr 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?
July 19, 200619 yr 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
July 19, 200619 yr Author thanks david! ill try to work out something like that. it sounds spot on what i want, now i just need it to work...
Create an account or sign in to comment