Compile Error: Method Or Data Member Not Found

khwaja

Registered User.
Local time
Tomorrow, 00:19
Joined
Jun 13, 2003
Messages
254
I was experiencing sluggishness in my DB, so decided to create a fresh copy by importing all objects into a new db. As expected, I had to add some references. However when I tried to turn on this FE which normally shows a splash scren and then the switch board, I could not quite go beyond the splash screen. I then tried to narrow down the issue by compiling the DB, whereupon I came across the issue pointing to error in relation to part of code within the switchboardand line relating to 'Me![SwitchboardID]'.
Funny thing is the same code and switchboard works fine in the older version. Will really appreaciate if someone could kindly look into this as moving to new copy already halved the sizs of the DB. I have attached a test copy of DB with only a splash scren and the switchboard. Will appreaciate if someone is able to rsolve the issue I have. Much appreciated
 

Attachments

it won't compile as there is no control called SwitchboardID on the form Switchboard
 
Me![SwitchboardID] is a reference to a fieldname in the attached table. So the reference is valid.

I use Acc2010 and your database can't be opened dus to the fact that a reference to MSOWCF.DLL was missing or broken. After i removed that reference i tried to close the database and got an error message that the database format was not recognised. Therefor any changes couldn't be saved.

You have some serious issues going on.
I'd delete this database and start over. Create a new database and import all objects and settings from the old one.

HTH:D
 
OK thanks. Will try again. Though I am not very hopeful as I did exactly the same before by importing objects and amending refs to exactly the same as in the original DB. Will try anyway and report.

Regards
 

Users who are viewing this thread

Back
Top Bottom