Hello,
I am trying to export my form to a PDF file. The export file needs to be unique, so it needs to include information selected in a combobox (called cboCustomerName) and a current timestamp. Is there a way that I can write a code to do this in the code builder?
I was thinking "C:\Users\User1\Desktop\" & cboCustomerName & ".pdf" but this doesn't work.
I have a form that a user will complete. When the user finishes filling out the form, I want them to click the "Submit" button. When the "Submit" button is clicked, I would like a screenshot of the form to be saved as a PDF file.
Also, the PDF filename needs to be unique by pulling from fields that were filled out on the form and a time/date stamp. For example, one of the fields in my field is "Customer's Name". Assuming the customer's name is John Smith, the output file would be something like this:
C:\Users\User1\Desktop\John Smith_5.26.2015_14:40.pdf
I am not looking to generate a report that accomplishes this if possible.
Thank you in advance.