Solved

report printing

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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 …
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

821 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