Error Compiling C/AL

gurleengurleen Member Posts: 39
I have created a codeunit with one method in it. This method does not take any parameter and does not return anything. When I try to use this method on a Form OnActivate event I get the following error during compilation

"When the function is called, the minimum number of parameters should be used "

The method is called by creating a local variable on the form for the Codeunit name and then using it like this.

CodeUnitVarName.methodname();


I am kind of new to navision coding ( 2 days now) so it may be something very simple..


Thanks
GSR

Comments

Sign In or Register to comment.