View Full Version : Multy Records from Access to Word


orna
11-12-2006, 12:53 AM
Hi
Tried it in another forum and didn't got an answer.
I'm transfering a record from Access to Word with this code:

Set objword = New Word.Application
Do Until rst.EOF
With objword
.Visible = True
.Documents.Add Template:=("\\Server\a.dot")
.Selection.GoTo Name:=("CustName")
.Selection.TypeText Text:=rst![CUST_NAME]
.Selection.GoTo Name:=("OpenDate")
.Selection.TypeText Text:=rst![OpenDate]
.....
End With
Loop

How do i transfer more then one recode.
for instance: an order with lines

TIA :(

TjS
09-04-2007, 03:30 AM
:confused:
Hi,

Can you please explain a bit more (maybe with an example ?)

It is maybe easier to understand what you are trying to accomplish.