Hi All,I would like to know if we could pass back Lotus Script Objects from Functions to the calling routine.
I would like to pass a DocumentCollection object back from the Function.Can I do that?
I would appreciate your response.
Thanks,
Sreeni.
Hi All,I would like to know if we could pass back Lotus Script Objects from Functions to the calling routine.
I would like to pass a DocumentCollection object back from the Function.Can I do that?
I would appreciate your response.
Thanks,
Sreeni.
Subject: Passing Objects back from functions
You sure can. Do something like:
Function getDocCol (…) as NotesDocumentCollection
…
End Function.
Subject: As long as the Database object is Global to both functions or passed in from the caller.
If the database or view object that contains the DocumentCollection goes out of scope, the DocumentCollection is Garbage collected out of existance.