I have a OnBeforeChange event. In this event code i Try to call to a private VBscript function.
private Function FormatId (OldId As String) As String
Dim NewId As String
NewId="0" & OldId
FormatId = NewId
End function
When I run the form I get this Error
Expected ')'
File:script.vbs
Line:51
private Function FormatId (OldId As String) As String
What is the problem?