Home |
Search |
Today's Posts |
#1
![]()
Posted to comp.groupware.lotus-notes.programmer,microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear contributors,
I apologise if there is a more appropriate group for this query - I can see relatively few Notes related posts in the VB/VBA groups and vice-versa. Currently I have an Excel VBA application that will retrieve all documents from a Lotus Domino database created after a certain date by passing a date to the search request in the following way... Private Sub GetNotesData(crDate1 As String) Dim LNdate As NotesDateTime Dim LNdocs As NotesDocumentCollection Dim LNdoc As NotesDocument With Application .StatusBar = "Retrieving recordset from " & SRVR & ":\\" & DBASE & " - Please be patient..." .DisplayAlerts = False End With ' Set the time Set LNdate = LNsession.CreateDateTime(CDate(crDate1)) ' Do the search Set LNdocs = LNdb.Search(SELEQT, LNdate, 0) ' ' ' Etc. Is it possible to reduce the recordset (and therefore the horrendously slow retrieval times) by also passing it a second date, before which documents were created? In fact, is there an alternative/better method to use than CreateDateTime? Currently the session is returning some documents that were created before crDate1 as though CreateDateTime is possibly the date and time the document was moved to the particular server/disk it is being read from. Br, NickH |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Retrieve last non zero value in a range of cells | New Users to Excel | |||
How to retrieve Named Range name? | Excel Worksheet Functions | |||
Retrieve value from a range of cells | Excel Worksheet Functions | |||
Retrieve individual cells from a range changed between a range | Excel Programming | |||
How to retrieve range in formula? | Excel Programming |