Announcements
No record found.
I have an error in SysCompare class in AX2009 and I cannot solve it, can anyone provide me with a link to get it ?
*This post is locked for comments
We can't help you unless you tell us something about the error.
From the investigation the class is ok; no changes has been made on it.
The problem is that we cannot assign value to a container in this AX2009 image; I created a job and write the following :
container result;
result=[2];
I receive a syntax error on the second line. The same error is faced in the class sysCompare; syntax error is received at the line where a value is assigned to the container.
What if you add one more semicolon after the declaration?
container result; ; result=[2];
yes the problems are resolved; on the job & on the class. Thank you
Why should I use( ;) between variable definitions and code lines in ax 2009?
You have a type called "Result" somewhere in your system and the compiler thinks that you may be declaring a variable of type Result.
The semicolon helps the compiler to understand where variable declaration ends.
Hi Maram
Please, tick the Martin answer as verified to help others in the future.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 16
GiacomoRovai 4
Douglas Noel 2