Solved

report printing

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

747 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

14 Experts available now in Live!

Get 1:1 Help Now