Word objects from Acces via VB6 to WORD document

Word objects from Acces via VB6 to WORD document

Post by Jens Buru » Sun, 12 Aug 2001 08:19:23



This one is a really * one (for me):

I have an Access data base, and one table containing formatted text
(OLE-objekt), who origanally was dragged from WORD into the data base.

I  VB6 project I want to insert one or more of records set into a another
WORD document in its original format, and to control the position of these
text blocks.

Using my SQL, I am getting the correct data in
rsMytable.Recordset.Fields("WORDTEKST")

I have tryed following code:

.Range.InsertDatabase , _

LinkToSource:=False, Connection:="Query XXXXX",

SQLstatement:="select WORDTEKST from Nicetext where Author=Mason", _

DataSource:="MyDataBase.mdb"

The problem is: The text is not formatted any longer, and I get all fields
from the record set in frames

Please are there any WORD basic who can do this better.

Kind regards

Jens Burup

 
 
 

1. Filemaker record to word document and word document list

Hello you filemakerlovers
I have a problem
I want to export 1 record to a word letter
If I select a customer record that I want to send a letter all the data of
the client like his name and address must be copied in the letterhead.
Have you done this or is there a programme for...
and my second problem
I wont to see witch letters I send to that customer.
A list off all the letters must be appearing
thanks if you have done this before...

2. Linked Server, Store Procedure hangs..how do i terminate the process?

3. insert word object into acces database

4. SQL 7.0 transfer objects problems.

5. Write Data from VB6-DB-Application into Word-Document

6. How change mouse graphic picture in paradox 5 win ?

7. Open OLE object in Word Document

8. postmaste(postgresql) problem: PG_VERSION is missing

9. Word-Document-object to recordset

10. Edit Access OLE object Word document from VB 3

11. Insert Word document into OLE Object field from C++

12. Fill Ole Object Field with a word document