One of our users went through and put in her appointments/meetings for all of 2006. She then went into Tools and set the alarm to be notified 30 mins. before the event. Any entries she has created ‘after’ setting the alarm notification, work by showing the pop up 30mins prior to the event. However, the ones that she entered prior to setting the notification will not work. Is there an easy way to set it so ALL entries for the year notify?Thanks for any suggestions.
Helen
Subject: Alarms and previous entries
Not without running an agent on the previously-created documents. The setting in Tools computes the alarm time when a document is created; that value is stored on the appointment document. If the value isn’t available to be looked up at the time the document is created, it can’t be set.
That said, you can write an agent to run on all documents using the Appointment form that sets $Alarm to 1, $AlarmOffset to -30, and Alarms to “1” (text instead of number).
Subject: RE: Alarms and previous entries
Eshter,Thank you for your response. I don’t have a clue on how to write such an agent. Could you possibly post that syntax?
Thanks very much.
Helen
Subject: RE: Alarms and previous entries
There are a couple of ways, but since it’s going to be run in a specific user’s mailfile it needs to be created in her mailfile (not strictly true, but given your unfamiliarity with programming I won’t go into that.) This means that either the user will need to create the agent, or someone with Designer or Manager access to her mailfile will need to do it.
I’m assuming that you don’t have the Designer client, so the user will need to go to Create/Agent while her mailfile/calendar is open. Give it a name, choose Action Menu Selection from the Runtime dropdown, All Selected Documents from the Target dropdown (both on the Agent Properties dialog box) and choose Formula from the Run dropdown in the agent pane itself.
In the programming pane, paste this code:
FIELD $Alarm:=1;
FIELD $AlarmOffset:=-30;
FIELD Alarms:=“1”;
SELECT @All
Save the agent, then go back into the calendar. If it truly should run on all of the calendar entries, then do a control-A to select all, then go to the actions menu and choose the agent you just created.
Subject: RE: Alarms and previous entries
Esther,Thank you so much. I appreciate your time and your help. I will get a hold of the user’s id and try what you suggested.
Thanks again
Helen