In a database DB_A I have a form (Has a field SaveOptions = “0” and no $$Return field) which is openend through a browser. On the WebQuerySave event of the form I call an agent which then processes the data.
The agent prepares the collected data from the form, does some FTSearches and then creates a document DOC_R (Result document) in database DB_R and a document DOC_C (Charge document) in database C.
Then I use a URL print statment to call an agent which then opens then DOC_R.
Now, I discovered that the documents DOC_R and DOC_C are created twice. So the agent was triggered twice. But not always. Just sometimes. I have done quite a bit of testing. But I could not figure out when the agent is running twice.
I was reading through teh forum but could not find an answer. The only thing which I found is that the WebQueryOpen agent fires twice with certain browsers
Does anybody know where I have the problem?
Thanks