2009 SP1 and 4.0 Matrix forms
tedcjohnston
Member Posts: 41
I just upgraded my executables from 4.0 SP1 to 2009 SP1. Now my matrix forms do not populate. Example is the statistics form for the item card (Form 5827). In 4.0 SP1 and using 4.0 objects in 2009 pre SP1, the matrix worked (dates showed up in the right side and populated the fields). The form does work in CRONUS.
Any suggestions?
Any suggestions?
"There are only two truly infinite things: the universe and stupidity. And I am unsure about the universe." - Albert Einstein
Corollary- Build and idiot proof system and nature will build a better idiot.
Corollary- Build and idiot proof system and nature will build a better idiot.
0
Answers
-
There is a change in how Case statement are case sensitive I believe.
I suggest to do a text compare for the forms and you'll find that DimCodeToOption function has changed to Text.
You could Just load the objects from 2009 and compile them.0 -
Yes, it was one of biggest surprise with technical upgrades to NAV2009.ara3n wrote:There is a change in how Case statement are case sensitive I believe.
Something what worked perfectly in NAV5 and former versions unexpectedly stop working in NAV2009, just because of introduced case sensitivity of CASE function.
@tedcjohnston:
CASE 'a' OF
'A' : THIS DOES NOT FIRE IN NAV2009 but DO in NAV5 and former
END;Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
I believe the main reason for this was that is how C# works and they wanted to be compatible with translating CAL to C#0
-
Hi,
This issue is described in KB article 971958.
thanks to deef090 -
Slawek Guzek wrote:
Yes, it was one of biggest surprise with technical upgrades to NAV2009.ara3n wrote:There is a change in how Case statement are case sensitive I believe.
Something what worked perfectly in NAV5 and former versions unexpectedly stop working in NAV2009, just because of introduced case sensitivity of CASE function.
@tedcjohnston:
CASE 'a' OF
'A' : THIS DOES NOT FIRE IN NAV2009 but DO in NAV5 and former
END;
You learn something every day. I have (since ver 1) assumed that CASE was case sensitive. I always use UPPERCASE if I do any text compares CASE or what ever. I would never have expected the above statement to work.David Singleton0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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


