Environment variable

I have a formula that prompts the user to enter a date in a dialog box. This date is then placed in an environment variable to be used in lotus script code that is called from the formula. The script takes the value in the environment variable and updates the document(s) selected in from a view in the database. The user then repeats the steps to enter a new date to be updated in different set of selected documents in the view. In the agent I am setting the date to null before exiting the agent. I’m doing that because one user reported the date on some of the documents was not correct. It appears the enviroment variable is saving the previous date entered and not the most current date entered by the user. This is only happening with one user. Other users of the system do not report a problem. I’m setting the environment variable to null by using the following line of code in the agent:

Call session.SetEnvironmentVar( “startdate”,“”)

Does anyone have any ideas what I can do to resolve this problem?

TIA

Pam

Subject: environment variable

if possible, go see what the user is doing.

Why can’t you accept the date with Input in script?