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 
RunTime 91 rsT2Close
Howard Chapell 
    
2 years ago
Hi I have successfully created and Run my Do Billing Button as per the Member Gold Bonus Video.It was been working fine up to 1 Hour ago and I have not made any changes. I now get a RunTime 91 Error and the code pauses at the rsT2.Close line of code. Can anyone point me in the right direction to find a solution to this problem.
Kevin Robertson  @Reply  
          
2 years ago
Which video are you talking about?
Jeffrey Kraft  @Reply  
      
2 years ago
I'm asking the same question.   It would be nice to know because a project I'm working on needs something like that.
Howard Chapell OP  @Reply  
    
2 years ago
Help Desk Kevin
Alex Hedley  @Reply  
           
2 years ago
Howard Chapell OP  @Reply  
    
2 years ago
Hi Kevin did you manage to come up with a Solution? I tried changing the two variable names  rst1, rst2 and it worked , but have gone back into running the Invoicing and have once again got the same Runtime 91 Error - Object Variable or With Block Variable not Set. So I changed the variables back to the original as per the code in the Help Desk Bonus Video and still have the same issue
Kevin Robertson  @Reply  
          
2 years ago
This error is occurring  when there are no tickets to process.
If you open TicketBillableHourQ there will be no records if none of the tickets are set to Closed (StatusID 5)

Add something like this after the variable declarations to check if there are tickets to process:

    If DCount("*", "TicketBillableHourQ") = 0 Then
        Status "No Tickets to Process"
        Exit Sub
    End If
Howard Chapell OP  @Reply  
    
2 years ago
Thanks Kevin much appreciated

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/1/2026 10:44:36 PM. PLT: 1s