Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OWord Page Breaks
Message
De
29/08/2003 14:30:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
OWord Page Breaks
Divers
Thread ID:
00824655
Message ID:
00824655
Vues:
64
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform