Z
zGhost
I've been working of this for days... I'm quick new at this so bare wit
me...
I'm trying to re-work someone else's code where it reads an Acces
database and creates a report. The problem is that if there are mor
than 10 samples in the recordset that it's reading. There needs to be
page break in the Word document.
I can get the page break to work by simply using:
If Count = 10 Then
'Page break in report
WApp.Selection.InsertBreak Type:=wdPageBreak
Count = 0
End If
However this stops the reading of the recordset after reading the 11t
sample.
I'm totally confused! Oh this is Word 2000 and the VBA is in Acces
200
me...
I'm trying to re-work someone else's code where it reads an Acces
database and creates a report. The problem is that if there are mor
than 10 samples in the recordset that it's reading. There needs to be
page break in the Word document.
I can get the page break to work by simply using:
If Count = 10 Then
'Page break in report
WApp.Selection.InsertBreak Type:=wdPageBreak
Count = 0
End If
However this stops the reading of the recordset after reading the 11t
sample.
I'm totally confused! Oh this is Word 2000 and the VBA is in Acces
200