Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Merge
Message
De
11/08/1998 09:23:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00125240
Message ID:
00125542
Vues:
13
>>>As I know you're using word.basic (below works for both Word95&word97 with word.basic) :
>>>
with oWord
>>>  .insertsectionbreak
>>>*If you know it's just a toggle otherwise need filepagesetup
>>>  .toggleportrait
>>>  .insertfile(cNewdocName)
>>>endwith
Cetin
>>
>>Worked like a charm!!!! Once again my thanks! Hope I can return the favor sometime.
>
>
>Oops, spoke too soon. It didn't pull in my margin settings (different for different documents) Also one document is 8.5x14 and another is 8.5x11, but it just kept the page setting of the first one. I looked at the filepagesetup command but I'm not sure how to use it. Do I need to pull the values from the document I'm going to insert before I insert it then use the filepagesetup after I insert it? The bad thing is that the document could be anywhere from 1 page to thousands of pages long. Not sure how I would save all the different defaults before inserting the document.
>
>Is there not just an easy way I can merge two documents while still retaining the margins, fonts, and page lengths for boths??
>
>AHWBGA!
Kevin,
Unfortunately caught to rem (* If you know ...). I even don't know how could it be done w/o using VFP but pure word. There doesn't seem to be a way other than opening separately, getting filepagesetup (to much work), closing,inserting and again filepagesetup. Well if applicable I would take the easy way and always use them as separate docs. If sending directly to printer it would work, for preview maybe masterdoc, subdoc could be a choice or opening all in its own window. I'm stucked at this point. Good luck.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform