The Power Of IBM Notes Formula Language

IBM Notes’ Formula Language is a powerful and versatile tool which can do almost everything a robust programming language may offer. It is used in forms, views, agents and almost all design elements and it can also be invoked from Lotus Script. Formula language provides this powerful functionality through a wide range of @functions. These […]

Continue Reading

IBM Notes View – Filter the Documents on the last 15 working days.

View Selection Formula: Get the records of the last 15 working days. This is achieved by calculating total days (TotDays) by moving back from now() and excluding all sundays (weekday=1). So for instance, If there are 3 Sundays in this period then we have to take 15+3=18 as TotDays (total working days) to get the […]

Continue Reading

LotusScript Technique: Do Something Based on Some Specific Role.

Managing the control of flow of the code based on the role is the responsibility of the developer, not of IBM Notes. How? here’s the simple code snippet for you. Dim theRole As String Set acl = db.ACLSet ACLEntry = acl.GetFirstEntry theRole = “AuditOfficer” If ( ACLEntry.IsRoleEnabled( theRole ) …

Continue Reading