I’m trying to save and close a document that will bring up anywhere between 1 and 4 secondary documents that will be using info from a field on the original document.
My problem is that either the secondary documents close right after they are opened, or the first doc is closed before the secondary docs are opened, and they cant access the field from the first. Oh yea, and my notes admin doesnt allow agents to run! Can someone help me?
Declare a global variable in the original Form (with which you are opening the original document)
In it’s query save, get your field’s content into that global variable.
In queryclose or postsave event of this form, write code to get those 1 to 4 secondary documents and open them and use the global variable to populate its value in those documents or whatever.
If you do not want to use global variable, you can access the value directly in those queryclose or postsave events of that form using Source.FieldGetText(“your field”) and use it to populate in any of those secondary docs.