Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TX Text Control & Header/Footer???

Status
Not open for further replies.

Chad123

Programmer
Apr 11, 2003
52
CA
Hey,

I am using the TXTextControl to create and save documents both internal to my application as well as external. Now, if you create a document with a Header/Footer everything works and it saves fine.

However, If you save a document with a page number in the Header/Footer (inserted as a field using txtextcontrol1.fieldinsert()), the contents of the document are overwritten with the Header/Footer contents containg the page number field.

In Summary, a 10 page essay with a footer will save fine. A 10 page essay with footer containing page number will save as a 1 page document with no footer and the body of the document now the footer contents.

Anyone have any ideas how I can fix this?

Thanx,
Chad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top