[...] event propety setting produced error Sub or Funcion not defined

After adapting a piece of code to convert number to "spelled" text and after a few runs the mentioned error

"[...] event propety setting produced error Sub or Funcion not defined"

started to occur at ALL events. I have completly rebuild the database and can't find any reason.
It now occurs for all events even if they won't call any funcion!

I am sending in a clean database, with just this code (for F07... on [T07_MontantePagar]

can anyone help?

formulariosFEDON-11.accdb
João serras-pereiraAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Surone1Commented:
have you tried Debug>compile in the vba editor?
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
It appears you had typos on the two lines shown, as  these are where the compile errors are.

mx
Capture1.gif
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

João serras-pereiraAuthor Commented:
Hi Databasemx,

your solition worked perfectly. But I can't find what was wrong. can you please tell me?
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
In the screen shot above.
strWrt(100) s/b strWrdt(100)   ' the 'd' was missing

Similar for the last line  'd' was missing.

Neither of those lines compiled.

mx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
João serras-pereiraAuthor Commented:
Thanks! What I was missing is that there was no compiler mesag at ALL!!!!
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
That's probably because Option Explicit is not in the Declarations section of that Module.  It should *always* be there.

You can force to automatically be added when creating a new Form or regular Module - see 2nd image >> Tools>>Options

mx
Capture1.gif
Capture1.gif
0
João serras-pereiraAuthor Commented:
Great many thanks for all! It costed me a day of work and a real pain as I was scratcthing may head all over!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.