Computer Learning Zone CLZ Access Excel Word Windows

He who opens a school door, closes a prison.

-Victor Hugo
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Check Register Seminar Notes    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Prevent Check Num on Credit
John Davy 
         
6 years ago
Hi Richard,
I am working with the check register and want to make sure that the user cannot add a check if the action is a Credit, so I added the following code to the beginning of the double click event for ChkNum.
      If Credit <> 0 Then
         Me.ChkNum.Enabled = False
         Exit Sub
      End If
You probably have a better way and I would hope you consider this for an update on Check Register.
Thanks
John Davy
Richard Rost  @Reply  
          
6 years ago
Yeah, that would work. I would probably put the code in the BeforeUpdate field for the ChkNum field so you could issue a warning message and then cancel the event which wouldn't allow them to save a value. Right now you're only preventing the double-click auto-numbering. Also, in the AfterUpdate event for the Credit field, and in the OnCurrent event you would maybe want to hide the ChkNum field accordingly. Good idea for the next version.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Check Register Seminar Notes.
 

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:46:10 AM. PLT: 1s