Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > Forums > Access Forum > .accde Question by David Clement
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
.accde Question
David Clement 
      
5 hours ago
Hello Richard,
I just have quick question about using the .accde file format.
I have made a form to track Health Vitals. It works great. When I made the original form, I set the form to NO on the Resize option. After I made sure the form was working like I wanted, I saved the file as a .accde file. It works fine except the form now opens wider that I thought it would and it doesn't look like I want because it opens wider now.
What did I do wrong?
Alkan Toykan  @Reply  
      
49 minutes ago
Set the Window Option to Overlapped Windows, Go to File/Options/Current Database, under Document Window Options, select Overlapped Windows instead of Tabbed Documents. Adjust the form's property sheet, open the form in Design View and verify the following settings on the format tab Auto Resize: Yes, Auto Center: Yes, Fit to Screen: No, Border Style: Thin or Dialog (Avoid Sizable if you want to lock the dimensions), Min Max Buttons: None or Min Enabled (to prevent manual maximization)

Since .accde files lock the Design View and compile VBA, you can not make design changes directly on the .accde file. You must apply these fixes to your original .accdb source file and then recreate the .accde.
Alkan Toykan  @Reply  
      
36 minutes ago
As an alternative approach lock dimensions & position via Form Properties and VBA. Adjust the form's property sheet, open the form in Design View and set Auto Resize: No, Auto Center: No (Set to No so it doesn't override the custom top/left coordinates), Fit to Screen: No, Border Style: Thin or Dialog (Avoid Sizable if you want to lock the dimensions), Min Max Buttons: None or Min Enabled (to prevent manual maximization) and set form dimensions and position on open or on load event like

Private Sub Form_Open(Cancel As Integer)
' DoCmd.MoveSize [Right], [Down], [Width], [Height]
' Right: Distance from the left edge of the screen (X position)
' Down : Distance from the top edge of the screen (Y position)
' Example:
' Left: 1000 Twips (~1.8 cm), Top: 1000 Twips (~1.8 cm) Width: 8000 Twips (~14 cm), Height: 5000 Twips (~9 cm)
  DoCmd.MoveSize 1000, 1000, 8000, 5000
End Sub
Add a Reply Upload an Image
Next Unseen

 
 
What's This?

 

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: 9/25/2026 2:46:52 AM. PLT: 0s