Object variable not set Error in Preferences/Calendar Profile

When saving some changes to the CalendarProfile, in other words called as Preferences, you may get the following error message repeatedly sometime after opening it / sometime after click the OK button to save the changes.

This happens usually in the mail-in applications.
Object variable not set
On Module: CLICK
On Line: 32
On Method: CLICK


When you reopen the document, you find that changes are lost. None of those are saved.
Even the signature, if you update any, are missing.

Thus this issue results in data loss.
This error is recently found in two of my friend's application.

The Notes Admin guy had upgraded the application from R7 to R8.
Thus, you may think it happened because of the version change.
Or there must be some problem with the template / form's code.

However, the solution reveals that it's not a notes development issue.
The issue would even show if the version is R7 template.

After debugging the form's code and it's Script libraries; it's found that the script is looking for the person's name in the ACL as an individual entry i.e. as Owner of the application.
Logically only Owner should make any changes to the Preferences, not just everyone.
Now, if there are no Owners of the applications and everyone/anyone tries to update the preferences, they it should not show the changes. And that's what it does in this case.

If you are trying to debug the issue and you add your name in ACL individually, apart from the Group entry, and then save the changes it would save the data. And the error message would not show.

After the same is done for those two applications and it worked.
Just make sure every application has its Owner assigned in the ACL. So, that when the owner tries to update the preferences document, he would not get any error message and would not escalate the issue.

http://www-10.lotus.com/ldd/nd8forum.nsf/4b9931b774db788c85256bf0006b5e6d/d41e903c42b2c93a852577bb0048a59f?OpenDocument

Hiding a Rich-Text field in Lotus Notes

Hiding a rich-text field. This is what my sis has been trying to achieve from past 2 hours now. Ah... it feels so irritating when you try to use all sorts of hide-when condition and it doesn't work. We tried normal field properties hide-when condition, tried sections, tried computed/computed for display etc. It did not hide.

Then I tried to google about it. It showed me several links with all stories in it. In the summary of a link I saw the name "subform". Eureka!!! I found it.



Then she created two subforms, ReadBody and EditBody and used the following formula in my main form.
@If(@IsMember("[< Role >]";@UserRoles);"< ReadOnlySubform >";"< EditOnlySubform >")

In the EditBody subform she created a RichText field with name as Body and Type as Editable, with default value as Body.


In the ReadBody subform she created a RichText field with name as dispBody and Type as Computed, with default value as Body.


In the main form, she added the subform as Computed one; set the formula as:
@If(@IsMember("[Roster Admin]";@UserRoles); "ReadBody"; "EditBody")


Thus, for the people with a specific role, the RichText field is editable and for other it's a read-only field.

It's now so easy to hide RichText fields or just making them Read-Only.

Hope you find this solution valuable.

Automatically Moving Return Receipts to Folder

I wanted to move the Return Receipts that I receive to my mailbox, to be moved to the folder I created under Folders, named as "Return Receipts".

Tried some agents - did not work.
Tried rules that check for the Subject field containing "RECEIVED:" - did not work.

Then I forgot about it.

Few days back I again recollected of this task. I tried to check some unique fields or field values that differentiates the Return Receipts from the normal Memo.
I tried hard, could not find any unique field.
And suddenly my attention went to the Form field.
Yes, yes, yes. I found it.

Now, the job is to check if the Rules section takes care of the Form field or not. Or is it just for the Subject field only.

And I found it...



Now all my Return Receipts automatically go to the folder that I created, instead of remaining in Inbox.

Free Resume Templates

Hi folks,


I found another website that has really great tips and samples of resumes that you can review when you are job hunting. Good luck and please feel free to email me if you have questions.

Resume Templates