Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OWord Page Breaks
Message
 
To
29/08/2003 14:30:22
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00824655
Message ID:
00824662
Views:
16
As far as I know, header/footer could be set for entire document or differently for document sections. You cann ot set different headers for particular page.
Code example in message #822874 will help.



>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform