I am using this code in the client and It work, but on the web it doesn’t work.
Dim collection1 As NotesDocumentCollection
Dim vc1 As NotesViewEntryCollection
Dim dateTime As New NotesDateTime("01/10/1999")
Set view1 = BD.GetView("CasosporFecha")
Set vc1 = view1.AllEntries
Call vc1.RemoveAllFromFolder("CasosSelec")
FormulaBusca1$ = {Form = "Caso" & FechaC >= } & Fecha1 & { & FechaC <= } & Fecha2 & {}
Set collection1 = BD.Search(FormulaBusca1$, dateTime, 0)
If collection1.Count = 0 Then
' Msgbox collection1.Count, 16 , "Carpeta (Mayor Analítico Asientos) vacía"
Print "No hay nada en la colección"
Exit Sub
End If
Print "Hay algo en la colección"
Call collection1.PutAllInFolder("CasosSelec")
Exit Sub
error: varian does not contain an object
Any idea?
Thanks in advance.
Arge