Object doesn't support property of method

R

Robin

I'm trying to call a sub from another form within the onclick event of a
command button but keep getting a runtime error "Object doesn't support
property or method". My line of codes that is causing the bug is:

Call Forms.[Sales Orders].FindOrderID_AfterUpdate

Any ideas what is causing this?
TIA
Robin
 
A

Allen Browne

Suggestions:

1. Make sure you remove the Private keyword if you want to call it from
elsewhere.

2. If that's not enough, try:
Call Form_Sales_Orders.FindOrderID_AfterUpdate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top