I am having a problem getting a collection of responses.
I am running the following code in a button on a document that has known responses. I verified the response documnents exist. The strange thing is that the code works in the NTF template file but not in the NSF file. The collection always comes back empty in the NSF file. Anyone ever ran into this before?
'set uidoc, doc and user name
Set uidoc = workspace.CurrentDocument
Set uidoc = workspace.EditDocument(True)
Set doc = uidoc.Document
'set response docs and collection
Set collection = doc.Responses
Set currentResponse = collection.GetFirstDocument