New Forum | Previous | Next | (P-PDF) Developers
Topic: FDFSetFile method Question
Conf: (P-PDF) Developers, Msg: 77771
Date: 12/5/2002 04:11 AM
Question... I am still learning how this all works. Currently we a database with ASP pages and PDF forms. When opening the PDF, the associated ASP page looks up a users information from the database and automatically populates a few fields on the form (EIN, NAME, AGENCY). This works great when the PDF form is in the same directory as the ASP.
What I want to do is move the PDFs into their own subdirectory to keep things clean. I have the ASP code in L:/, and I want the PDFs in L:/forms. When I make this change, and change the code inside the PDFs to reference the ASP in one directory lower, that part works okay. However, the ASP does not populate the form in the new directory, and I don't know how to make the ASP code realize the form is in a different directory.
I am using the FDFSetFile method that comes with the FDF Toolkit. However, using this syntax:
Where PDFFORMLOC is the value of the subdirectory, it is not working.
Is there anything else I can do, or am I doing something wrong? I'd really like to use subdirs to keep the files organized. We are going to have over 200 forms in there, and having them intermingled with the ASP code will make it messy. :)