Forum Discussion
Trust125
Jul 26, 2022Copper Contributor
MS Access error
MS access file shows an error"The expression on mouse down you entered as the event property setting produced the following error:invalid character" while clicking any button in the forms.The ...
EricStarker
Jul 27, 2022Community Manager
Hello! You've posted your question in the Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Microsoft Access space - please post Microsoft Access questions here in the future.
- isladogsJul 27, 2022MVPAs I can't see your form all I can do is make an informed guess.
It sounds like your form is corrupted.
Try decompiling your project which will remove any compilation code including anything that is corrupted,
If that doesn't help, create a new form- Trust125Jul 28, 2022Copper ContributorThankyou for your reply,
Compiled the access file and an error "invalid character" in a vb code of one of the forms .
VB code->
Private Sub 暵偠傞儃僞儞_Click()
On Error GoTo Err_暵偠傞儃僞儞_Click
If Me.Dirty Then Me.Dirty = False
DoCmd.Close
Exit_暵偠傞儃僞儞_Click:
Exit Sub
Err_暵偠傞儃僞儞_Click:
MsgBox Err.Description
Resume Exit_暵偠傞儃僞儞_Click
End Sub
>Actually the button name in the form is in japanese language .
How do i change the language to japanese ?(I have copy paste the japanese vb code but this pc displayes only chinese)
Thank you for your support- isladogsJul 28, 2022MVP
Hi
Perhaps you misread my post.
I suggested you DECOMPILED your project - see Decompile and Compact Your Microsoft Access Database to Improve Performance and Fix Corruption (fmsinc.com)
I also recommend you change the macro settings back to the default value
Sorry I don't know how this site deals with languages such as Japanese