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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Buttons Don't Work on 2003
Emad Al-Baghli 
    
5 years ago
Hi, I have main menu and list of continuous form made by 2019 Access by 2003 mdb format. I made code for each buttons and they work fine in 2019. but If I run them on 2003 Access, everything working fine accept the buttons they does not work I have the following code to show you do I miss something kindly help me?


Option Compare Database
Private Sub Form_Open(Cancel As Integer)
    DoCmd.Maximize
End Sub

Private Sub Note1_Click()
DoCmd.OpenReport "Note", acViewPreview, "", "", acNormal
End Sub

Private Sub Report1_Click()
    DoCmd.OpenReport "PatientQR2", acViewPreview, "", "", acNormal
End Sub

Private Sub Report2_Click()
    DoCmd.OpenReport "PatientQR3SerAzl", acViewPreview, "", "", acNormal
End Sub

Private Sub Report3_Click()
    DoCmd.OpenReport "PatientQR4Ser", acViewPreview, "", "", acNormal
End Sub

Private Sub OpenLists_Click()
    DoCmd.OpenForm "FormTL", acNormal, "", "", acEdit, acNormal
End Sub

Private Sub Refresh_Click()
    DoCmd.RunCommand acCmdRefresh
End Sub

Private Sub Delete_Click()
    DoCmd.RunCommand acCmdDeleteRecord
    DoCmd.RunCommand acCmdRefresh
End Sub
Adam Schwanz  @Reply  
           
5 years ago
My guess would be trouble with enabling content. Maybe make sure it's set as a trusted location?
Richard Rost  @Reply  
          
5 years ago
I don't see anything wrong with those commands. They should work fine all the way back to Access 2000. In fact, the DoCmd.RunCommand command was added to maintain compatibility with even older versions. Run down the Access Troubleshooter.
Emad Al-Baghli OP  @Reply  
    
5 years ago
How can I do trusted folder in 2003 and disable macro and vba security in 2003 office Plz
I know how to do it in 2010 and above but 2003 I tried kindly help me.
Richard Rost  @Reply  
          
5 years ago
Trusted folders didn't come around until 2007. There was no macro security in 2003, if memory serves. You're talking about something that's 18 years old. I barely remember what I had for breakfast. :)
Adam Schwanz  @Reply  
           
5 years ago
Looking online it looks like Tools -> Macro -> Security. This is too old for me to be involved in and feel comfortable telling you to do anything :P. May be something you have to research on your own.
Richard Rost  @Reply  
          
5 years ago
Yeah, I didn't even do much with it back in 2003 because from what I remember it never worked very well. But I don't think security is his problem. That's straight VBA and it should work just fine in his database. Have you tried putting those commands in a blank new form? New database?

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

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: 5/6/2026 7:57:14 PM. PLT: 1s