Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OWord Page Breaks
Message
From
29/08/2003 14:30:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
OWord Page Breaks
Miscellaneous
Thread ID:
00824655
Message ID:
00824655
Views:
62
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
Map
View

Click here to load this message in the networking platform