Function with many (> 20) Parameters
Kromozone
Member Posts: 47
Hallo!
very simple question: I've just created a Function with many Parameters. If i want to compile, i get the Message "Reduzieren Sie den Ausdruck, so daß er weniger komplex ist" and the Cursor jumps to the 19th Parameter of the Function Call.
I guess i have too many Parameters, but i could not find anything about this Message. Can you acknowledge this?
Kindly Regards & Greetings from Germany
Andy
very simple question: I've just created a Function with many Parameters. If i want to compile, i get the Message "Reduzieren Sie den Ausdruck, so daß er weniger komplex ist" and the Cursor jumps to the 19th Parameter of the Function Call.
I guess i have too many Parameters, but i could not find anything about this Message. Can you acknowledge this?
Kindly Regards & Greetings from Germany
Andy
0
Comments
-
From my experience - Navision is able use functions only with max. 20 parameters... documentation say nothing about it, but I have confirmed it with NTR...0
-
Too Bad
Thank you!
Andy0 -
I would recommend a restructuring of your programming if you need 20 parameters ...
I have never programmed functions with over 10 parameters as far as i can remember ...In a world without Borders or Fences, who needs Windows and Gates?0 -
As far as I can remember not more then 8, does this mean...janpieter wrote:I have never programmed functions with over 10 parameters as far as i can remember ...
0 -
Hi,
starting a function wth more than 10 parameters is very strange.
Why you do not use temporary tables?0 -
for example when creating some text file for export, I need to call function with 30 parameters (30 fields) but i have no table with these fields because they are from more tables....... This function take these 30 values and generate new line into file in some way....0
-
What about setting one parm that is actually an array ? This way you can send practicaly unlimited parms.
the only limitation is that you have the same type of all variables. this can be solved if you have several arrays of different types as parms...®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
