B
bryan
I have a template which has the ability to add additional files that has form
fields which I update from a query (driver info). What users would like is
the ability to add this same file (document) multiple times and have it
updated accordingly. I figured I could add a textbox to the template for
users to input the driver numbers and add according to this.
Let's say the insertable document has 5 form fields, text1 - text5.
ActiveDocument.FormFields("Text1").Result = strDriver
ActiveDocument.FormFields("Text2").Result = strVehicle
etc.
My question is this:
How can I add this same document multiple times and have my query update the
one just added ?
Assume I added form for driver 1 and updated fields, and now I add for
driver 2, how can I update the second form added with driver 2 info when the
form fields are the same ?
Or is my only solution to have the same document saved multiple times (ie
Driver1.doc, Driver2.doc, etc) with the form fields named different in each?
Thanks,
Bryan
fields which I update from a query (driver info). What users would like is
the ability to add this same file (document) multiple times and have it
updated accordingly. I figured I could add a textbox to the template for
users to input the driver numbers and add according to this.
Let's say the insertable document has 5 form fields, text1 - text5.
ActiveDocument.FormFields("Text1").Result = strDriver
ActiveDocument.FormFields("Text2").Result = strVehicle
etc.
My question is this:
How can I add this same document multiple times and have my query update the
one just added ?
Assume I added form for driver 1 and updated fields, and now I add for
driver 2, how can I update the second form added with driver 2 info when the
form fields are the same ?
Or is my only solution to have the same document saved multiple times (ie
Driver1.doc, Driver2.doc, etc) with the form fields named different in each?
Thanks,
Bryan