Oracle - Word bookmark [message #586982] |
Wed, 12 June 2013 04:18  |
 |
wolfking
Messages: 99 Registered: May 2013
|
Member |
|
|
Hello everyone,
I have opened this topic just to get your ideas which would maybe guide me.
I am actually collecting data from Oracle and create bookmarks on a word document which correspond to these data and auto-complete it.
I had not any important problem until that I had a case where I do not know the number of data I am going to get in the end.
So I would like to know if you guys have an idea on how to solve this problem.
I do not know how much bookmarks I should create as I don't know the number of rows I am going to get after executing my query.
Thanks in advance,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Oracle - Word bookmark [message #587059 is a reply to message #587057] |
Wed, 12 June 2013 08:31   |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
atirtil wrote on Wed, 12 June 2013 15:27lets say that way, I want create bookmarks on a Word Document with ORACLE query?
That's like saying "I want to eat lasagne with a power drill.". A complete goal / tool mismatch.
|
|
|
|
|
|
|
|
|
|
|
|
Re: Oracle - Word bookmark [message #587190 is a reply to message #587079] |
Thu, 13 June 2013 01:40  |
 |
Littlefoot
Messages: 21825 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
A MS Word bookmark, as I know it, is a way to quickly visit previously marked text. (I created a short walkthrough; have a look at the image attached, if you are interested. Won't help at all in this very problem, but a little bit of education won't hurt).
However, reviewing @atirtil's screenshots, it doesn't look like a bookmark but rather a mail merge problem. For example: you are getting married and want to invite 200 people. You could do that copy/pasting the same text 200 times and replacing previous name with a new one, but that's a boring and tedious job. Therefore, you create a list of people (in any text editor, including MS Word or even Excel), create a template and simply "merge" that template with the list, and there you are - 200 letters ready to be printed.
Now: source for the list could be an Oracle database table. Using ODBC, it should be possible to merge SELECT's results with a Word document. Personally, I've never done that. Here are Google search results. I took a look at some of them, but can't decide which one would be the "best".
On the other hand, maybe it is not about mail merge at all so I missed the point completely. Either way, I don't have much to offer, sorry.

[mod-edit: messaged inserted into image body by bb]
[Updated on: Fri, 28 June 2013 11:17] by Moderator Report message to a moderator
|
|
|