Broken reference?

  • Thread starter Thread starter CDM
  • Start date Start date
C

CDM

I'm getting an error messsage "Method or data member not found" on a piece of
code that has worked fine for months.
Dim oCustomer as New Customer
If oCustomer.load(mCustomer_Id) Then...

Customer is a class module and "Load" is a method of the class that
retrieves a record from tblCustomers. I don't understand why ".Load" is
causing an error when it has worked without a hitch up until today. Is this a
broken library reference issue?
 
If under VBE (Ctrl_G) you use the Browser (F2), can you find something
relevant about: Customer ?

If not, then you are missing a reference to the library defining the class
Customer.

If the Browser find the class, and the method Load, then maybe (probably)
the error is due to something else.



Vanderghast, Access MVP
 
Thanks for that. I browsed and found the class Customer and the method Load.
Any idea what the "something else" might be?
 
It is maybe a line of code (step by step would give more details) of the
method Load which lead to the error.

Vanderghast, Access MVP
 
Back
Top