Hi Folks,
While compiling the standard unmodified Sales History (10157) report, I got the following error message:
---------------------------
Microsoft Dynamics NAV
---------------------------
The variable has the type Code. The counter in the FOR sentence should be a numeric, boolean, date, time or char variable. For example:
FOR Counter := 1 TO 10 DO ... ;
---------------------------
OK
---------------------------
I tried to use different executables (4.0 sp3, 5.0, 5.0sp1), but the problems still comes up. The problem seems to only reside in this database as all FOR statements will not compile properly.
Can anyone shed some light on this issue?
Comments
RIS Plus, LLC
MVP - Business Apps
I exported the report and imported the report to another system, and it compiled fine.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Object Manager
You, my friend, is a genius! =D> =D> =D> =D>
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
You, my friend, are a genius.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Terrible grammer.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
RIS Plus, LLC
MVP - Business Apps