I am trying to call a function (contained in Form's own module)
from the onClick() event of a button by assigning the function to the button through its properties as below
=myFunction()
The function has a single Optional parameter as below
myFunction(Optional arg as String).
The problem is that although I can call the function without the parameter
from any module, I can't call it from the Form's event if I don't specify a parameter.
Is this some kind of bug?
EDIT:
@Moderators: I accidentally submitted the topic before entering the correct title.
Please edit topic's title to "Can't call a function without specifying the Optional Parameter"
from the onClick() event of a button by assigning the function to the button through its properties as below
=myFunction()
The function has a single Optional parameter as below
myFunction(Optional arg as String).
The problem is that although I can call the function without the parameter
from any module, I can't call it from the Form's event if I don't specify a parameter.
Is this some kind of bug?
EDIT:
@Moderators: I accidentally submitted the topic before entering the correct title.
Please edit topic's title to "Can't call a function without specifying the Optional Parameter"
Last edited: