Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect New Page Added
Message
From
13/05/2003 07:00:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/05/2003 20:30:21
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00787560
Message ID:
00787634
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform