=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
SEARCHDOMINO.COM | Developer Tip
December 16, 2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
FROM OUR SPONSOR:
Do you use Microsoft Office?
http://searchDomino.com/r/0,,8442,00.htm?swingsoftware 

********************************************************************
IN THIS ISSUE | Table of Contents

1. DEVELOPER TIPS 
   - Featured tip: Agent to replace Date field values
   - Recently posted developer tips

2. IMPORTANT ANNOUNCEMENTS AND LINKS
   - AdminP webcast archive   
   - Send us your predictions
   - Take our poll: Will you ditch Domino?
   - Developer Forum
   - SearchDomino.com Search Engine
_____________________________________________________________________
***************>>> SPONSORED BY SWING SOFTWARE  <<<******************

Do you use Microsoft Office?
If so, you need SWING Integrator 3 - the leading MS Office
integration tool for Notes/Domino. Ever wondering how to: edit
attachments on Notes or Web forms; transfer Notes data to/from Word
or Excel; share MS Office templates; create mail merge and labels;
create Excel reports and charts? It seamlessly integrates with your
applications. OEM royalty-free!
http://searchDomino.com/r/0,,8442,00.htm?swingsoftware 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
AGENT TO REPLACE DATE FIELD VALUES | Max Prozy

If you try to use the usual procedure, (doc.ReplaceItevValue) for
changing values of Date/time fields, it will fail, because this
procedure changes the field type to text. 

Here is code that solves this problem:

Suppose you have a field "date" which stores some date values you are
about to change...

  Code: Sub Initialize
 Dim w As New NotesUIWorkspace
 Dim dc As NotesDocumentCollection
 Dim doc As NotesDocument
 Dim Item As NotesItem
 Dim nDate As NotesDateTime
 
 Set dc=w.CurrentView.Documents
 If dc.Count>0 Then
  d=Format(Cdat(Inputbox ("Please input a new date value", "New 
date")),"dd.mm.yyyy")
  Set nDate=New NotesDateTime(d)
  Set doc=dc.GetFirstDocument
  While Not (doc Is Nothing) 
   Set item=doc.GetFirstItem("date")
   Set item.DateTimeValue=nDate
   Call doc.Save(True,True)
   Set doc=dc.GetNextDocument(doc)
  Wend
 End If
 
 
End Sub

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
RECENTLY POSTED DEVELOPER TIPS  | SearchDomino Tips

Agent category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283834_alpD_idx0,00.html 
[1] Mail rules for POP mail

Formula category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283836_alpD_idx0,00.html 
[1] Easy login and logout links

Other category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283842_alpD_idx0,00.html 
[1] You can force numbers-only entries

Script category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283841,00.html
[1] Insert more than 64K in a field

>>See all SearchDomino Developer Tips here:
http://searchdomino.techtarget.com/tips/0,289484,sid4_tax283833,00.html

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
:::::::::::  DON'T MISS THESE IMPORTANT MESSAGES AND LINKS  :::::::::
_____________________________________________________________________
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
WEB CAST ARCHIVE: EXPLOITING ADMINP | SearcDomino.com

If you missed the webcast on exploiting AdminP you can catch the
rerun from our archives.

>> VIEW the AdminP archive:
http://searchdomino.techtarget.com/webcasts/0,289675,sid4,00.html 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
SEND YOUR PREDICTIONS | SearchDomino.com

What do you predict Lotus will do in 2003? Send us your predictions
and we'll compile the best of them. Send predictions to
[EMAIL PROTECTED]   

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
TAKE OUR POLL | SearchDomino.com

Have you ever thought of switching from Domino to Exchange?

>> VOTE here:
http://searchdomino.techtarget.com/poll   
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DEVELOPER FORUM | SearchDomino.com

One user writes, 
"Hi, I am in a dilemma. In the Postopen Event of FormA data is
checked and a document is created by a different FormB depending on
data in various fields in FormA. It goes thru Postopen Event several
times just like it is in a loop. Am I thinking correct that PostOpen
Form event should only apply to the Form that has it or if you have
script in postopen event for just one form does it affect all forms?
Other than opening a document is there something else that would
activate the postopen event? Thank you for any input."

>> HELP solve this problem:
http://searchdomino.discussions.techtarget.com/WebX?[EMAIL PROTECTED]@.ee7740b/15539!viewtype=threadDate&skip=&expand=
 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DOMINO/NOTES SEARCH ENGINE | SearchDomino.com

Find Domino information fast. Is Google one of your favorite search
tools? We've partnered with Google to make our Domino/Notes-specific
search engine even better. Why waste time slogging through irrelevant
search results? Try our newly tweaked search engine for the most
targeted Domino/Notes results. 

>>Click here to access our advanced search: 
http://searchdomino.techtarget.com/integratedSearchAdvanced/0,289518,sid4,00.html     
____________________________________________________________________
::::::::::::::::::::  SEARCHDOMINO CONTACTS   ::::::::::::::::::::::

JOYCE CHUTCHIAN, Site Editor (mailto:[EMAIL PROTECTED])
   >> Send your comments, opinions, best practices and ideas.
____________________________________________________________________

KURT RINGLEBEN, Asst. Editor (mailto:[EMAIL PROTECTED])
   >> Send your white papers and best Web links, and tips.
      (Please submit your tips via SearchDomino.com)
____________________________________________________________________

DAVID SPENARD, Asst. Editor (mailto:[EMAIL PROTECTED]) 
   >> Send your Ask the Experts questions. (Please submit your 
      Ask the Experts questions via SearchDomino.com.) 
____________________________________________________________________

JON PANKER, News Editor (mailto:[EMAIL PROTECTED])
   >> Send in your news, product announcements and poll ideas.
____________________________________________________________________

DAVID DRISCOLL, Account Executive (mailto:[EMAIL PROTECTED])
   >> Sponsor this or any other TechTarget newsletter.
____________________________________________________________________

___________________________________________________________________
::::::::::::::::::::  ABOUT THIS NEWSLETTER   :::::::::::::::::::::

Published by TechTarget (http://www.techtarget.com)
 TechTarget - The Most Targeted IT Media
 Copyright 2002, All Rights Reserved.

Unsubscribe from 'Lotus 411 Developer Tips'
 - Simply Reply to this Email with REMOVE within the Body or Subject
>  or
 - Go to: http://searchDomino.techtarget.com/register
 - Log in to edit your profile.
 - Click on the link to Edit email subscriptions.
 - Uncheck the box next to the newsletter you wish 
   to unsubscribe from.
 - When finished, click "Save Changes to My Profile."


Reply via email to