Hi all,
I have a problem with an Access database, I do not see any VBA Compile-errors or Runtime Errors (ie. 3011 when the filepath is too long).
See attached image where I have a Button in a Form with a deliberately error in the VBA-code. When I click the Button, nothing happens, I have to open the VBA-windows and go to Debug->Compile to see the error (se attached image).
I've gone through different settings but I have not found anything that fixes this problem.
On a different machine with the same Access-version I get the Runtime Errors which makes me think that this is a local setting. Therefore I've tried reinstalling Access but with the same result.
I've tried adding the line DoCmd.SetWarnings True before the "Msgboooox"-line, but same result.
Would appreciate help since it's quiet cumbersome to develop on a machine that will not give errors if something is wrong :)
But on a different machine with the same Access-version I get a Compile Error directly when I press the Button, and I can see the Runtime Errors (same exact Access-file, copy-paste between the machines). See image below.