Jerry Manner 8.Jun.10 04:39 AM a Web browser Applications Development 7.0.1 Windows XP
I am having a strange problem with returning a notesdocument through a function in Lotusscript.
In a sub I have this line of code:
Set User = CheckPersonDoc(Doc)
The function CheckPersonDoc exist in another Script Library. If I debug the code then in this function I can see that the document is found and set like this in the function:
Set CheckPersonDoc = PersonDoc
But If the code returns to the sub then User remains Nothing!!!
How is this possible? In the debugger I can clearly see that the function is finding the document.