Lotus Notes — рабочий инструмент программиста.

Обсуждения программирования на Lotus Notes/Domino

Archive for Ноябрь 18th, 2008

Get Your Enterprise NAB from the current database ( shorten your code )

без комментариев

Function GetEnterpriseNAB( default As String ) As NotesDatabase
‘ returns the NAB from the server the current Db is on
‘ posted to http://www.openntf.org/projects/codebin/codebin.nsf/CodeBySubCategory/808CDC4680D8BF37862574EF006EDD01
‘ written by Mike Mortin
Dim s As New NotesSession
Dim db As NotesDatabase
Dim server As String
Dim nname As NotesName ‘ set the default
If default = "" Then default = "Admin01/Operations/CA" ‘ get our parent server to get the NAB
Set db = s.CurrentDatabase
Set nname = New NotesName(db.Server)
server = nname.Common ‘ now, use default server if we are local
If server = "" Then server = default ‘ finally, grab names.nsf from that server
Set GetEnterpriseNAB = New NotesDatabase(server, "names.nsf")
End Function

Original source : http://www.openntf.org/projects/codebin/codebin.ns…

Написано lotusnotes

Ноябрь 18, 2008 в 6:55

Опубликовано в Lotus Notes

Immediate If

без комментариев

Function IIf (condition As Variant, trueCondition As Variant, falseCondition As Variant) As Variant
‘ such a basic function for all other programming languages … stands for "Immediate IF"
‘ posted to http://www.openntf.org/projects/codebin/codebin.nsf/CodeBySubCategory/328BED8C4AB8E446862574EF0068734A
‘ written by Mike Mortin
If condition Then
If Isobject(TrueCondition) Then
Set IIf = trueCondition
Else
IIf = trueCondition
End If
Else
If Isobject(TrueCondition) Then
Set IIf = falseCondition
Else
IIf = falseCondition
End If
End If
End Function

Original source : http://www.openntf.org/projects/codebin/codebin.ns…

Написано lotusnotes

Ноябрь 18, 2008 в 6:54

Опубликовано в Lotus Notes

Batch file runs scheduled Lotus Notes database maintenance tasks

без комментариев

After encountering problems with a large Lotus Notes database, Brian Graham developed this hands-off solution. He created a batch file that runs several Lotus Notes database management tasks while your Lotus Domino server is offline.

Original source : http://feeds.feedburner.com/~r/techtarget/Searchdo…

Написано lotusnotes

Ноябрь 18, 2008 в 1:44

Опубликовано в Lotus Notes

Java code inserts data from Notes documents into a SQL table

без комментариев

Prepared statements let Lotus Notes Domino users update and insert data into tables. Check out this Java code, which retrieves data from documents and tests to see if the data exists in a SQL table. If it does exist, the data is updated. If it doesn’t exist, the Java code inserts the data.

Original source : http://feeds.feedburner.com/~r/techtarget/Searchdo…

Написано lotusnotes

Ноябрь 18, 2008 в 1:42

Опубликовано в Lotus Notes

Display Lotus Notes user group membership details in a tree view

без комментариев

Determining which groups a Lotus Notes user belongs to is important, but difficult if you don’t have access to the proper databases. This tip explains how to display a tree view of the groups and nested groups to which a user belongs with just the click of a button.

Original source : http://feeds.feedburner.com/~r/techtarget/Searchdo…

Написано lotusnotes

Ноябрь 18, 2008 в 1:42

Опубликовано в Lotus Notes

How to Use Lotus Notes on Linux with Wine

без комментариев

Написано lotusnotes

Ноябрь 18, 2008 в 1:42

Опубликовано в Lotus Notes

My New Computer Build Settings

без комментариев

Написано lotusnotes

Ноябрь 18, 2008 в 1:41

Опубликовано в Lotus Notes