Recently, my boss asked me to write a function to print all the messages of
the mail user's database between 2 dates.
So, I have created a dialog box with 2 fields (a beginning date and a ending
date). When I call the function with the 2 dates, I glance through the view.
And when the document date is between the 2 dates, I edit the document, and
I print it.
But when I execute this function (with the dialog box), when I want to edit
the document, the program gives me the following error message :
"Object variable not set".
However, when I execute the function (without the dialog box), all is OK.
What's the problem ?
Thanks in advance for your help