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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View and Print Document Using Data Report

Status
Not open for further replies.

sonper

Programmer
Oct 4, 2001
94
PH
Hi guys!

I just want to know if there's a way wherein I can view and print a document (2 pages max) coming from a Rich Text Box into Data report without saving it first on a database and also retaining all of its attributes e.g. bold type, centered?
 
VB data reports do not support RTF text objects, only text boxes and labels, which you can apply the regular font formatting to, bold, italic etc. You would have to show the report first and then print from the report dialog. I think maybe you would have to save your data to a DB tho.

Pete Vickerstaff - Hedra Software
 
petevick,

Thanks for your reply. I was able to show the contents of the RTB thru label control but is only limited to displaying 1 page. Do you have an idea on how I could possibly show all the pages?

Thanks.
 
Could you please give me an idea on how will I determine which group of text or how many words goes to page 1 or record #1 and so forth...? Thanks again.
 
Just a follow up. How will I split up contents of a Rich TExt Box in such a way that the first group which will be my first record in a DB will fit in exactly on a letter size paper? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top