Solved

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

Posted on 2016-09-16
9
25 Views
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.
0
Comment
Question by:PipMic
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 34

Expert Comment

by:PatHartman
Comment Utility
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.
0
 

Author Comment

by:PipMic
Comment Utility
Hi,

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?
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 250 total points (awarded by participants)
Comment Utility
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.

/gustav
0
 
LVL 34

Expert Comment

by:PatHartman
Comment Utility
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.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:PipMic
Comment Utility
Was wondering whether it could be done using vba?
0
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 250 total points (awarded by participants)
Comment Utility
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?
0
 
LVL 84
Comment Utility
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!
0
 

Author Comment

by:PipMic
Comment Utility
Thanks all for your comments
0
 
LVL 84
Comment Utility
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.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

744 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