prateekkumar
asked on
How to write a common functions?
Hi friends, this is in continution to the questions I was asking. Actually, I am performing some function on the outgoing mails for individual users. For this I am writing some scripts at the QuerySave event of Memo, Reply, ReplyWithHistory, PersonalStationary and wForward forms(means wherever it is possible to send a mail).
Now if I have to make some changes in it then I have to change the scripts in all five forms. Can I make some sort of functions which can be called in all five forms and if I have to make any changes then I have to change at a single function which is called in all five forms? Please tell me in detail as I am not a expert in Lotus Notes?
ps: Please don't suggest to not to use this method of writing lotus script in all five forms as I have already implemented it.
Now if I have to make some changes in it then I have to change the scripts in all five forms. Can I make some sort of functions which can be called in all five forms and if I have to make any changes then I have to change at a single function which is called in all five forms? Please tell me in detail as I am not a expert in Lotus Notes?
ps: Please don't suggest to not to use this method of writing lotus script in all five forms as I have already implemented it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Arun, it's running perfectly.
Even better, put the script library in a template on your server, and let the mail files you have inherit the changes each each night or any time you run the "design" task on the server.
Change once, run design, and its rolled out everywhere.