Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Set Blank Header for 1st Page n Heading on Other Page
Message
From
18/11/1999 06:13:36
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How to Set Blank Header for 1st Page n Heading on Other Page
Miscellaneous
Thread ID:
00292326
Message ID:
00292326
Views:
69
I'm generating a report through WordBasic commands and want to make Blank Header on 1st page and report Heading to be repeated from 2nd page onwards...Additionally footer (i.e. Page 1 of n) will be repeated in all the pages...

I'm writing following code but its not working...
With oWord

	.ViewHeader

        * This is the report heading which shud not come on 1st page but shud repeat on all other pages
	.insert("Sales Confirmation") 
	.FilePageSetup("3", "9", '0.5"', '0.5"', '0.7"', ;
	'0.7"', '0"', '8.27"', '11.69"', 0, 0, 0, 0, 4, 0, ;
	0.5, 0.5, 2, 0, 1, 0, 0) &&, "", "", "0", -1)

	.GoToHeaderFooter
	.Insert("Page ")
	.InsertPageField
	.Insert (" of ")
	.InsertField("NUMPAGES \* MERGEFORMAT")
	.CloseViewHeaderFooter

EndWith
TIA...

Version/OS Etc :- Vfp 5.0a, Win 98, Office 95..
Reply
Map
View

Click here to load this message in the networking platform