?
Solved

report printing

Posted on 1998-06-22
3
Medium Priority
?
249 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 150 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…
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…
Suggested Courses

615 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