Archive

Archive for the ‘Lotus Notes Tutorial’ Category

Lotus Notes Tutorial – Basic Edit History

If you’ve been developing in Notes for any amount of time, one thing you’ve probably accumulated in your “bag of tricks” is an “Edit History” subform where the dates/times of the most recent edits are shown. Here, I’ll talk about our basic edit history subform. This is called “basic” because it only shows overall edits (who and when) instead of tracking changes to specific fields. Tracking changes to fields is a lot more involved, so I’ll leave that for another time.

Read more…

Viewed 571 times by 176 viewers

Lotus Notes Web – Converting Host Name To IP Address

Lotus Notes Web – This code was found on a Visual Basic web site and converted to LotusScript. It is a LotusScript class that allows you to convert a host name to its IP address. To use, create a new HostName object.

Then check the IPAddress property of the new object to get the IP address. The property is a string.

This code is best stored in a script library. Create a new script library, then go to the (Declarations) section. The first part of that section is some constants:
Read more…

Viewed 706 times by 250 viewers

Missing From Lotus Notes Array

After using the Are Arrays Equal function in LotusScript for a while, a comment came from one of our developers: “This is good and all, but how do I know what is different about the two arrays?” The other function simply exits when finding a difference. So it makes sense to just keep track of the differences and then return those differences somehow. But there’s two types of differences:

Read more…

Viewed 512 times by 164 viewers

Check Lotus Notes Arrays Equal

In a recent project, we had the need to compare two arrays to see if all the elements in one array were in the other array and vice versa. The elements didn’t have to appear in the same order in the arrays to be equal. So that prompted a generic “AreArraysEqual” function.
Read more…

Viewed 597 times by 214 viewers

Lotus Notes Tutorial Custom OK Cancel Buttons and Validation

I discovered something interesting that I thought I would share with everyone. It’s only applicable if you’re using your own OK/Cancel buttons in a dialog box (as opposed to the buttons that Notes generates). For those of you that don’t know, you can specify your own OK and Cancel buttons in a dialog box. All you have to do is add a hotspot button to your dialog box form/subform and choose “OK” or “Cancel” (there’s also one for “Help”) under the “Type” of button.

Read more…

Viewed 556 times by 204 viewers

Powered by Yahoo! Answers