Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect New Page Added
Message
De
13/05/2003 07:00:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/05/2003 20:30:21
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00787560
Message ID:
00787634
Vues:
19
>Thanks to you all for the information and help on VfoxPro. I am stumped using automation.
>Project: Creating a membership directory in Word from a VFP table. I am writing a record per table setting up column and row (merging rows as needed). It works great, keep the record on a page (if the table dosn't fit, it break to a new page.
>THE PROBLEM: I need to print page headers with the member group name (like VFP report grouping). How do I detect when word writes a table to a new page?
>Detect page number, or detect page break event in wordbasic?
>
>Thanks for your help

Use Information. ie:

lnOnPage = .Tables[n].Range.Information(wdActiveEndPageNumber)
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