Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Developers    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Form Open How Long Function
Werner Mildt 
      
2 months ago
In my calendar form I am using already the
On Open and the On Close Event for code to makes the calendar work.
Question?
Is there a way I could use Rick's
FormOpenHowLong Code Function.
I looked at
On Activate and On DeActivate
but I am not Shure it will work.
Would Appreciate any input.

Form Event On Open  =NoteTimeOpened([Form])
Form Event On Close  =NoteTimeClosed([Form])
Thanks
Kevin Robertson  @Reply  
           
2 months ago
Just call the functions in the VB Editor and replace [Form] with Me. You do need the Call keyword.

Private Sub Form_Close()

    Call NoteTimeClosed(Me)
    
End Sub

Private Sub Form_Open(Cancel As Integer)

    Call NoteTimeOpened(Me)
    
End Sub
Werner Mildt OP  @Reply  
      
2 months ago
Thanks Kevin,
This works just perfect.
Many thanks again
Werner

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

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/5/2026 9:15:17 AM. PLT: 1s