Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Developers    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Disable QAT in Access
Lau Hao Ying 
   
4 years ago
Is there a way to use code to hide the Quick Access Toolbar BUT keep the ribbon in place in Microsoft Access 2016? I wanted to hide the Quick Access Toolbar as I am afraid that normal users can view the SQL statements for the queries, and hence corrupt it.
Richard Rost  @Reply  
          
4 years ago
Unless you design a custom ribbon tab, the quick access toolbar and the ribbon are stuck together. You can disable them both easily. I cover that in Simple Security. However, if you lock your database down completely like I show in my Security Seminar, then there's no way your users can edit the SQL of your queries.
Lau Hao Ying OP  @Reply  
   
4 years ago
Thanks. Will see and try. The reason to allow Ribbon is for the User to view the report in Excel format (which is the Export to Excel), and the reason to hide QAT is that there is "SQL View" in it, which allows viewing of SQL Query (and even injecting their query, which eventually allows privilege escalation for Access Control).
Richard Rost  @Reply  
          
4 years ago
I would just disable everything and provide the buttons you want them to have on your menu.
Lau Hao Ying OP  @Reply  
   
4 years ago
But there is a 'More Command' option in the QAT to show the 'View SQL' again
Richard Rost  @Reply  
          
4 years ago
Yes
Richard Rost  @Reply  
          
4 years ago

Richard Rost  @Reply  
          
4 years ago
If your database is locked down like I show in my Security Seminar, then they will be able to view your SQL, but they won't be able to modify it. Plus you can always hide your queries in SQL statements in VBA code.
Lau Hao Ying OP  @Reply  
   
4 years ago
Oh can hide query in VBA. I didn't know that
Richard Rost  @Reply  
          
4 years ago
Well, you can take the SQL of the query and do whatever it was going to do with VBA. I cover that in my later Developer lessons.
Lau Hao Ying OP  @Reply  
   
4 years ago
Ok thanks
Lau Hao Ying OP  @Reply  
   
4 years ago
Hope to be informed when that Developer lesson to do this is released
Richard Rost  @Reply  
          
4 years ago
It's already in a bunch of lessons.
Lau Hao Ying OP  @Reply  
   
4 years ago
You mean something like your this video?
https://youtube.com/watch?v=imEOGui5eic

If use this there might be a problem with Inner Join
Richard Rost  @Reply  
          
4 years ago
Yes, just like that video, and you can put inner joins in your SQL.
Lau Hao Ying OP  @Reply  
   
4 years ago
So is like create form from Query. Like that will have a lot of forms

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developers.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/8/2026 12:15:18 PM. PLT: 1s