Dates and Huge error message

poppins
Member Posts: 647
Hi everyone,
I got the attached huge error message while compiling my page...
I got the page by Form Transformation using the TIF tool...
The code of the original form uses a lot the CALCDATE function, but I really don't know what to do since the form compiles and works very fine :?
How to correct that???
I got the attached huge error message while compiling my page...
I got the page by Form Transformation using the TIF tool...
The code of the original form uses a lot the CALCDATE function, but I really don't know what to do since the form compiles and works very fine :?
How to correct that???
0
Comments
-
The calls to the CALCDATE function are almost like this:
IF Period= 2 THEN TestDate := CALCDATE( '+2'+Portion+'+FM', DatePreced ) ELSE TestDate := CALCDATE( '+1'+Portion+'+FM', DatePreced );
What seems to cause this big error???0 -
What is the datatype of Portion? and what output are you expecting from below expression?
'+1'+Portion+'+FM'
0 -
Portion is al letter just like M(month) or Y(year)...
'FM' is like 'CM' but in French...
The expression is a date expression which helps the CALCDATE function determine the TestDate...0 -
YOu say the form uses alot of calcdate functions, but you only show one example.
perhap you need to check all the coding more carefully to find the offending code.
http://msdn.microsoft.com/en-us/library/b66k5sz9(v=vs.80).aspx
viewtopic.php?f=23&t=49769&p=2435700
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