Link to home
Start Free TrialLog in
Avatar of PipMic
PipMicFlag for Gibraltar

asked on

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

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.
Avatar of PatHartman
PatHartman
Flag of United States of America image

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.
Avatar of PipMic

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of PipMic

ASKER

Was wondering whether it could be done using vba?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!
Avatar of PipMic

ASKER

Thanks all for your comments
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.