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 
DECOMPILE
John Muir 
     
4 years ago
The VBA compiler highlighted this code:
     Private Sub Command1button_Click()

     Negotiations Diary = Negotiations Diary+30

     End Sub

But when I delete or try to fix, still have the problem. I know (now) i shouldn't have spaces in field names. so i put it in brackets, save close reopen and same error. Do i need to decompile?

Also, i can't find where this problem is - i have a lot of forms using the +30 day btn...

Any help would be appreciated.

Thanks,

John
John Muir OP  @Reply  
     
4 years ago
never mind. i found the syntax error which i had duplicated many times. finally, no compile errors. seems like i should debug after every "creative" session to check for errors...
Richard Rost  @Reply  
          
4 years ago
Make sure you have Option Explicit set too. Avoids things like this.
John Muir OP  @Reply  
     
4 years ago
just did. Great lesson. Thanks

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/7/2026 3:34:46 AM. PLT: 0s