Maximum No of variables...

Manish_Ahlawat
Member Posts: 31
Can anybody tell me if I write a message like this in a report...
message('%1%2%3%4%5%6%7%8%9%10%',i1,i2,i3,i4,i5,i6,i7,i8,i9,i10);
then what is the maximum no of variables that i can use...
it is allowing upto 10 but as soon as I try eleven it is giving me an error message..
Please clarify..
message('%1%2%3%4%5%6%7%8%9%10%',i1,i2,i3,i4,i5,i6,i7,i8,i9,i10);
then what is the maximum no of variables that i can use...
it is allowing upto 10 but as soon as I try eleven it is giving me an error message..
Please clarify..
Rule from today: Never take others comment in a wrong way, these might help you to travel a long way in your carrier.
0
Comments
-
Hi,
The maximum is 10 agrument and 1 for the format string. You can get arround this by creating interim strings and concatenating these together0 -
I think it is safe to say that when the system shows you an error that the maximum is a certain number, then that number is the maximum number. In this case it appears that you get that error even when you use that number, so that would appear to be an incorrect message, unless the format string is considered to be one of them. If I were to get this message, I would try it again in another object, just to see if the behavior is the same. If it is, and using more than 10 is consistently causing errors, then I would conclude that this is indeed the maximum.
Like Dave said though, you could build the string before using it inside the message, there is always a way around it0
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
- 320 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