I am trying to declare a subroutine at the DB level (i.e. not tied to
a form or field etc). It is fairly simple and acts on some shared fields
(and ONLY shared fields).
Where would I dclare it? Currently I have multiple copies of it in
the 'Globals' section of each form (there are three forms in this DB).
This is not exactly modular programming :-)
Thanks a lot,
Paul
P.S. I am using Notes 4.0
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
There is a dedicated "Script Library" design area provided for each
database that allows you to design script modules that are global to one
database (user defined LSX modules).
I think i remember this is one of the major changes form r4.0 to r4.5.
In your case, why don't you define a 'subform' including the shared
fields and the globals routines associated with some buttons or fields.
This subform could be included in any other form an viewed as a global
subform containing global routines (unless subforms are not available in
r4.0).
--
Guillaume DEUDON
Alcatel ISR - 3 Rue Ampere - 91349 MASSY Cedex - FRANCE
voice:(+33) 1.69.76.25.71
fax:(+33) 1.69.76.24.98
mailto:Guillaum...@isr.alcatel-alsthom.fr
nant...@hotmail.com wrote in article <8774582...@dejanews.com>...