Tuesday, August 23, 2005

SetAnyDate


I love it when I find out about a previously-unknown function... a great many have come to my attention courtesy of Stan. Just found another one, that happens to be very timely (no pun intended.) This is something I can use right now to fix a problem I've been having with training registration databases that generate calendar entries.

SetAnyDate


Does anyone out there have a favorite function, property, etc. that isn't well-known but is extremely useful in certain situations?

2 comments:

Stan Rogers said...

Well, I have to confess that the SetAnyDate (and its evil twin, SetAnyTime) came to me in a vision while I was being taught a short lesson in Notes date/time handling by Andre Guirard. I've always been lucky that way. You know how in Annie Hall Marshall McLuhan was coincidentally available to settle an argument? When I make a publicly stupid statement, the expert in that field will be standing right there to pounce on me.

Now for a few faves. StrConv is a good one, even if all you ever use is 3 (proper case). I'd be lost without Lists -- my ventures into languages that don't have them (or something like them), like VB6, have not been fun at all. Compare any of my R5 parsing code to @URLQueryString in Domino 6. Oh, and let's not forget StampAll, the nitrous oxide of agent code.

Jess said...

I just recently learned about the NotesRichTextItem method 'Update', which in R6 means that a document no longer needs to be saved and then re-opened to have the rich text value show up changed. Wheeeeeeeeeeeeeeeeee!

I made a neat app that allows users to create multiple rich text signatures, and then dynamically choose which one they want to use just because of that feature. :-)