3 hours ago: Our file storage provider is running maintenance today. If any videos don't load, wait a minute, refresh the page, and try again. Sorry for any inconvenience.  Dismiss
Computer Learning Zone CLZ Access Excel Word Windows

We are just an advanced breed of monkeys on a minor planet of a very average star. But we can understand the Universe. That makes us something very special.

-Stephen Hawking
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > Courses > Access > Seminars > Work Order > Lessons
Back to Work Order Lessons    Comments List
Make Invoice Button Upload Images   Link   Email  
Julius Cunningham       
4 years ago
I have situations where there is no labor but there are materials involved and vice versa. When I try to make an invoice I get a runtime error 3021 "No Current Record" and the debug points to the rs.Movefirst command in the event
Sub MakeInvoice_Click().  How can I correct these two situations?
Richard Rost             
4 years ago
Sounds like you just need to check to see if there are any records before looping. A quick DCOUNT should suffice.

I have to apologize, it's been TEN YEARS since I recorded that seminar, so if you want more in-depth help, I need to know which video you're on, and the time index that the problem occurs. I'll need to refresh my memory of exactly what I did. :)
Julius Cunningham       
4 years ago
Ok.  It's video 46 index 00:17.  Once you completed the programming you tested it.  It works perfectly, but try a work order with
no labor cost but with material costs or vice versa.  When I tried it the program stops when it reaches "rs.MoveFirst".
Julius Cunningham       
4 years ago
Nevermind.  You fixed it in video 52.
Richard Rost             
4 years ago
Glad I could help. :)

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Work Order Lessons.


The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/14/2024 9:52:35 AM. PLT: 1s