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

Problems Displaying Data

Status
Not open for further replies.

noaaprogrammer

Programmer
May 4, 2001
36
US
I am working on a database application in Visual C++. It is a dialog based app which retrieves data from a database, does some calculations with the data, and stores all of the data in structure variables. I would like to create a formatted output display where the user can view the data in a report format and print it. What would be the best way to go about this? I am looking into Document/View architecture, but I am clueless on how to implement this in a dialog based app.
 
You should create a printer DC and to send it to printer. What to put in this DC deppends on what do you want to print. There is nothing more than simple WinAPI. John Fill
1c.bmp


ivfmd@mail.md
 
I have exactly the same problem, I need to elaborate and print reports from a database, using a dialog-based VC++ program. Can anybody explain more about this? I need to have a preview of the report and then print it. Is this feature only available with single and multiple document interface programs? How can I implement this? Thank you very much.

Ric.-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top