I have a problem with a script i wrote. I have to set some field on the
Dim dc As notesdocumentcollection
Set dc = db.unprocesseddocuments
Select Case code
Forall d In dc
'setting multiple fields here and saving the document
Forall d in dc....
But notes won't let me save this script because is has a script error.
In the line "forall d in dc" it says dc is not an array,list,
collection or variant....!?
I can workaround this by using functions like getnextdocument, but
using "forall" would make the script much easier...
Does anyone know why notes generates this error ??? and how i can make
this script work..???
Sent via Deja.com http://www.deja.com/
Before you buy.