Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating pages with pagebreaks in Word??
Message
De
20/03/2006 11:11:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01105651
Message ID:
01105870
Vues:
18
But how would you repeat the template from the previous page (including bookmarks)?

can I retrieve the document content when I first open the doc and then insert the whole shabang in the next page ?

Thanks

Peter


>
>#DEFINE wdPageBreak  7
>
>oWord = CREATEOBJECT("Word.Application")
>oWord.Visible = .T.
>oWord.Documents.Add()
>oWord.Selection.TypeText("Some Text" )
>oWord.Selection.InsertBreak(wdPageBreak)
>
>
>>I have a table with 175 names, addresses and 2 pictures(1956 and now)
>>I need to ceate a word doc with one page per person,
>>the template contains a table with 2 columns, the caption on the left, teh text on teh right
>>
>>the text is replaced from the dbf via bookmarks
>>Well this works fine for one page documents.
>>now at the end of the scan I wand to insert a pagebreak and create a new page from the template.
>>
>>But I dont seem to be able to do that.
>>
>>how could this be done?
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform