General information
Category:
COM/DCOM and OLE Automation
Hello all,
I am having fun with Hentzenwerke Office Automation (for Word)
attempting to reproduce VFP report form results.
My data extends over 1 page and I am trying to put the
same heading on each oWord page.
I'm frustrated,
detail lines are written with InsertAfter() +CR ,
I am counting the detail lines with
"oRange.Paragraphs.Count" when it gets to say 30 I want
to do the next page.
I think I need to "collapse" the range and insert a "break"
then call my header method code then continue with more detail.? The InsertBreak() doesn't seem to be affecting anything.
Or maybe the Collapse is wrong.
Is Collapse then InsertBreak the correct things to be doing here?
Hentzenwerke references to InsertBreak seem to affect only "tables"?
Any help? thanks. (snippet code available)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only