These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

I am trying to open a pdf, populate and then open another and populate

summa
Registered: Apr 25 2010
Posts: 24

I am trying to open a pdf, populate and then open another and populate..

I am opening one pdf populating and saving it with different name in different location
and in same program opening a second pdf document and trying to populate using the same type of code...

Getting the deadobjecterror - object is dead. Error 1001.
It fails on the 'Set X = jso.getfield("children.oldcasenumber")' line and gives error.

If pdDoc.Open("c:\dcp_email\Supplemental_Suspect.pdf") Then
Set X = jso.getfield("children.oldcasenumber")

X.Value = caseNo

pdDoc.Save 1, "c:\dcp_Results\DCP_questionnaire.pdf"
pdDoc.Close
Set pdDoc = Nothing
End If

My Product Information:
Acrobat Standard 9.3.1, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
Have you properly set the 'disclosed' property of the PDF files you are trying to open?

George Kaiser