[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?Page 1 / 1
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?This will provide you with vb script code doing this, then I am sure we can do a joint effort to translate that into ACUCOBOL-GT.
Now, having said that, if you are going to do a large number of reports, I doubt this to be very efficient, and would rather encourage you to use the mailmerge technique.
If however, it is just for single sheets, I think it is wise to do as you want to.
One more issue. Remember that if you are passing data by volume, say a price matrix or some. Consider using a table and pass the data in a safearray, it may imply a significant performance improvement.
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?This will provide you with vb script code doing this, then I am sure we can do a joint effort to translate that into ACUCOBOL-GT.
Now, having said that, if you are going to do a large number of reports, I doubt this to be very efficient, and would rather encourage you to use the mailmerge technique.
If however, it is just for single sheets, I think it is wise to do as you want to.
One more issue. Remember that if you are passing data by volume, say a price matrix or some. Consider using a table and pass the data in a safearray, it may imply a significant performance improvement.
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?What I hope to accomplish is for a sales agent to be able to display the client's record on the screen and the print the appropriate sales contract and addendum's using existing forms stored as Word documents.
I had hoped it would work similar to passing data to Excel. There I just select a cell and do a MODIFY Sys-Excel-Worksheet. I just imagined there was some similar Active-X call for Word.
Anyway, what do I search and replace for in the Word document?
Thanks,
ssgmiami
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?What do I search for??
[\\quote]
For whatever you would like to replace. For instance if you in your template document had a tag InsertItemsOrderedHere you could search and replace that with the # ordered.
[quote]
What I hope to accomplish is for a sales agent to be able to display the client's record on the screen and the print the appropriate sales contract and addendum's using existing forms stored as Word documents.
[\\quote]
Sounds like a great idea. This should be pretty straight forward. Then, given that you have the template document. Start recording macro, and do manually what you would like the program to do (using fake manual data). Stop recording, and then translate the vb scripting to ACUCOBOL-GT.
[quote]
I had hoped it would work similar to passing data to Excel. There I just select a cell and do a MODIFY Sys-Excel-Worksheet. I just imagined there was some similar Active-X call for Word.
[\\quote]
Not ActiveX this is COM, but yes, there is a similar method for Word, it depends though, that your template contains one or more tables.
Once again, I suggest you record your manual moves and then translate the resulting vb script. That is the easiest way to accomplish this. If you do that, and provide a fake template in this forum, I am sure we are many that will help you out with the translation.
[quote]
Anyway, what do I search and replace for in the Word document?
[\\qoute]
Look at the top.[/quote][/quote][/quote][/quote]
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?Example 1
Example 2
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?Example 1
Example 2
[Migrated content. Thread originally posted on 31 August 2004]
I need to pass data held in 5.0 Vision files to fields (bookmarks) in existing word documents, then print the documents directly from Word. These documents are sales contracts, addendums, notices, etc. I don't want to have to create a merge data file, I would like to go directly to the Word Document. Anyone tried something like this?http://www.acucorp.com/support/supported/customer_forum/showthread.php?s=&threadid=366
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.