Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Beginner 5    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
General Question About Queries
Nicholas Lamicella 
     
4 months ago
When a Query is executed it display the results in a datasheet. This data sheet can be edited and the edited change are kept. Is there a way to prevent the editing of the data. I want to give the user the ability to run a query, but want any changes to the data to by accomplished thru a Form
Donald Blackwell  @Reply  
       
4 months ago
As Richard oft repeats in his videos, your end user shouldn't have direct access to your tables and queries. A finished database shouldn't expose the end user to the navigation pane where they can directly access queries.

If you want them to be able to see the raw results of a query without being able to edit, create:

a) a continuous form with the query as it's record source with all of it's fields locked so that they have to click a button to open the form(s) you want them to edit with,

b) create a form with a datasheet sub form where the datasheet is locked and/or has "allow edits", "allow deletions", and "allow additions" set to no,

c) create a split form (basically the same as b, with less control) with the "Split Form Datasheet" option set to "Read Only"

In his video Split Forms video, Richard discusses pros and cons of the last method along with some of the pitfalls that historically existed with allowing users to have direct access to your datasheets (table/query view).
Donald Blackwell  @Reply  
       
4 months ago
Oh, and I guess you could create a fourth option:

d) Use the query as the source for a report

This would be similar to Richard's Embedded Report video where he creates a "reading mode". And then you could apply techniques similar to Buttons on Reports to be able to open add/edit forms.

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

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: 4/30/2026 9:13:13 AM. PLT: 1s