lotus notes - Set default date when form is composed from calendar view -
does know how set default date when user double clicks in notes calendar view? example, when double click on 18th feb, want field startdate in new form 18th feb.
it done in notes mail service template, uses complex nesting of script libraries , custom objects has confused me.
i had thought of using environment variables, can bit messy if user's client crashes etc, prefer solution.
to date utilize calendardatetime property of notesuiview element in regiondoubleclick method.
sub regiondoubleclick(source notesuiview) print source.calendardatetime print "did see it?" end sub
you can assign value of source.calendardatetime datetime variable or field, startdate, in new document.
lotus-notes lotusscript
No comments:
Post a Comment