What is the max no of parameters a function can take
I hope this is a purely academic question. If you are developing a function that breaks the limit, your underlying design is almost certainly not the best.
you can pass in records and recordsets as parameters. so what is the Maximum?
I have tested Version 2.60, 3.60 3.70 and all have a max number of 19 parameters. if you add one parammeter, you get a compiler error: “Reduce the expression so it is less complex”. I think that Nelson is right, but if there is no other way, you can make a second function to move parameters to global variables and use them in the called object. br Josef Metz
Thank you All
Moved from MBS User Group forum to Navision Developer forum (as I expect the question was about Navision and not Axapta or other product).
You can pass arrays though …