Is there a way to stop a New document from being created each time a web page is refreshed?
Subject: New document is created each time web page is refreshed
Do you have a doc.save() or UIDoc.save() in the WebQueryOpen agent? It is something that you have explicitly coded which is doing that.
Subject: RE: New document is created each time web page is refreshed
I checked my form and I don’t have a xxx.save() in the WebQueryOpen. I found the following in the Help files when I searched for ‘web refresh’ …
“Note If you click the Web refresh button, this unid value changes. A new document is created each time the page is refreshed. This is why it is important to save variables that you want to store in the database before performing a refresh or triggering a tag that automatically refreshes the Web page.”
Subject: RE: New document is created each time web page is refreshed
No, that does not mean a new document is created (i.e. SAVED) each time – only that the UNID changes. The UNID is not definite until after you save the doc. If you are composing a new document, each time you load the page, it starts creating a new document. That does not mean that anything is ever saved.