Solved

report printing

Posted on 1998-06-22
3
239 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
consolidate or create a new vba code for performing tasks 5 63
VBA open file from excel cell 4 36
change vba from autofit to 13.5 width? 4 28
How does CurrentUser work? 10 31
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now