Solved

report printing

Posted on 1998-06-22
3
240 Views
Last Modified: 2010-05-03
1)How to code a complicated  vb report program which need to print the detail information from various database
files and a lot of calculation involve ? What is the easy way to do it ?

2) How to print the ms-word documents from vb without open the document one by one ? Please kindly
provide me the sample code thank you.  
0
Comment
Question by:netcool
3 Comments
 
LVL 3

Expert Comment

by:chapie
ID: 1463961
I'll give you the first one, that's pretty simple, but the other I have to look up, but another 'expert' out there probably has done it several times already and knows the answer

you should use the visual data manager to create a query with all the calculations, then base your report on that query
0
 

Accepted Solution

by:
vamsi_k earned 50 total points
ID: 1463962
Regarding the second problem, u could save the doc file as RTF file, and using RTF control, could print all the files through VB.  Try this.  If u find it difficult I could write code for this.

Regards,
Vamsi
0
 
LVL 5

Author Comment

by:netcool
ID: 1463963
Can i use Ms-access to generate the report and then convert it into VB code ? Which then can be modified using VB ????

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question