Hi Richard, At the end of lesson one, the IsQuotationMacro has been deleted and replaced with VB code. The IsPaid checkbox and IsQuotationToggle button used to call the IsQuotationMacro. Is there another place where that I can't think of that could be calling it? I ask because after completing lesson one, when I test click on the "greyed out" Quotation button on a paid invoice, I get an error message: MicroSoft Access cannot find the object IsQuotationMacro. I can't find what could be calling for the IsQuotationMacro. I have closed the file, closed the program and reopened it. I deleted the VB code and retyped it--trying to fix it. Thank you, Bob Taplin
Kevin Robertson
@Reply 5 years ago
Have you checked all events of the button for the macro?
Scott Axton
@Reply 5 years ago
Yeah - you might want to re-watch that lesson.
You are missing replacing one of the IsQuotation events. Richard shows where that macro is called.
You should be getting more information, from the error itself, on where it is that you are generating that error. It will indicate right where the code is failing.
Also, you just gave a good indication where to start looking. Such as, "when I test click on the "greyed out" Quotation button on a paid invoice" (the code in the Quotation button)
You need to trace through what is happening. The "On Click" event would be a good place to start.
If you don't find it, take a screenshot of the error message and post it using the link in your original post (upper right corner)
Scott Axton
@Reply 5 years ago
Check out at about 15 - 16 minutes into the lesson and forward.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Developer 6.