Solved

Printing Microsoft Access 2003 report in VB 6

Posted on 2006-07-03
2
150 Views
Last Modified: 2011-04-14
I found the fucntion on Experts Exhange

"Public Function fPrintReportOLE(theDBName As String, theReport As String) As Boolean"

 and it works but it opens the Database and the database has a pop up security message.
 
Number 1 I do not want the user to open the database  They will not have access installed only run time

Number 2 How do I get rid of the security questions?

Any help I would be thankfull
0
Comment
Question by:MKadric
2 Comments
 
LVL 35

Accepted Solution

by:
Raynard7 earned 125 total points
Comment Utility
If they do not have access installed then you will not be able to open the report on the machines.

You would be best using ADO to connect to the db and then recreate the report in your application.

The security questions relate to the security settings on the individual  machine.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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…

771 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

12 Experts available now in Live!

Get 1:1 Help Now