How to disable Save As when on an Access report (using A97)

Posted on 2016-09-16
Last Modified: 2016-10-08
Hi ,

I have an acess97 programme which generates a number of reports. However when a user views the report on screen he can right click and use the  SAVE AS function.

I would like to disable this particular function in the first instance but also look at a way to disable the available right click functions.

Any suggestion is most welcome.
Question by:PipMic
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
LVL 38

Expert Comment

ID: 41801475
I'm not sure why this is a problem.  Are they changing the design of the report?  If you want to prevent user access to the design of forms/reports/modules, distribute the app as an .mde or .accde.

Author Comment

ID: 41801495

I'm using A97. No they're not changing the report but saving the underlying data as an Excel file.

This is something I want to prevent without having to compile it.

Is this possible?
LVL 51

Accepted Solution

Gustav Brock earned 250 total points (awarded by participants)
ID: 41801612
As far as I remember, there is no way around this, not even running the application in a runtime environment. Actually, to save printer settings and to export, etc. for a report is considered a feature.

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

LVL 38

Expert Comment

ID: 41801842
Not that it will solve your problem but it is time to upgrade your Access version.  A97 was my all time favorite but 19 years is ancient in the computer world and the newer versions of Access will not even recognize databases created with A97 as a lifeform.

I can't even try things to help you without having A97 installed and I gave it up more than 10 years ago.

If you create a shortcut to run the app and use the /runtime switch, that might hide some menus but it would probably mean that you would need to create custom menus and add printing options to them.

C:\path to access.exe yourdatabase.mdb /runtime

This doesn't change anything, it just tells Access to pretend to be the runtime engine and if you have unsophisticated users, it might solve your problem.

Author Comment

ID: 41802178
Was wondering whether it could be done using vba?
LVL 38

Assisted Solution

PatHartman earned 250 total points (awarded by participants)
ID: 41802228
I seriously doubt it since there is no event that fires that would trigger your own code.  Your best hope is to replace the toolbars and menus.  That way you can eliminate the option.   As I said, I don't have any PC with A97 loaded to even examine what the menu options are.

What exactly is the problem this is causing?
LVL 85
ID: 41802924
I'm assuming they can print the report?

If so, they have access to that data anyway, so to make any sort of effort to restrict a different type of "export" seems pointless. All they would have to do is print the report to paper, and re-key the data into another system. A bit more work for them, to be sure, but then that's never stopped anyone before!

Author Comment

ID: 41804535
Thanks all for your comments
LVL 85
ID: 41834893
Comments from Gustav and Pat resolve this question - that is, you can't do what you're asking, and both of those comments provided information as to why.

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

635 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