Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Lock Subform < Vertical Lines | Export to Word 2 >
Back to Lock Subform    Comments List
other line Upload Images   Link   Email  
Duchesne Claude-Real        
2 months ago
Here is my question in 2 parts

First part:
For the subform:
here we lock EVERYTHING with: OrderDetailF.locked
and to prevent deletion: OrderDetailF.Form.AllowDeletions = False

Would this work? if instead of "orderDetailF.locked" to block the entire subform, I would have written the command to also prevent modification as for the form.

with the command: OrderDetailF.Form.AllowEdits = False

Second part:

Almost identical to the first part! , here it's more about the main form, instead of having Me.AllowEdits = false.....could I have simply put OrderF.locked in order to block the whole form?

thank you to enlighten me

PS I am French speaking and I used Google translate for this text. I read and understand quite well, but have difficulty writing and synthesizing lollll
Adam Schwanz             
2 months ago
You should try it out and see what happens :).

You can lock down edits, additions, and deletions if you want to, it should be the same thing. However you want to put the lego pieces together. I personally don't use Allow Edits very much because it disables things like combo boxes that might be used to do other things like change records etc. unrelated to the data in the subform. Unless there's a ton of fields or I know I'll never have a use for something unbound to be going on inside the subform, I usually just individually lock them with Forms!FormName!SubformName.Form!FieldName.Locked=True but then you have to remember if you add fields to the subform you have to lock those too like that.
Duchesne Claude-Real        
2 months ago
Thanks Adam,

Your answer enlightened me... ???? I didn't think about that at all: that if I don't use the subform lock and if I use the other way, I won't forget to do the same manipulations for each new field that I adds

Knowing me I would have forgotten that lollllllllllll and looked for what the error is THANK YOU very much

A+

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

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/19/2024 10:50:01 PM. PLT: 1s