Hi All,
When you save and compile an object and there is a compilation error in it, usually the cursor is brought to a code line or a property value with the incorrect syntax. However, sometimes this doesn’t work thus making it difficult to locate an error.
Does anyone know the cause and how to bring Navision C/SIDE back to normal work?
Thanks.
Mindaugas ](*,)
0
Comments
my experience is that e.g in Reports with an error in the code of a function to cursor position is not set correctly.
maybe that this is correctef in version 4.0.
i use the following workaround:
go to the code of the funtions and insert an "X " at the begin of a code line.
now there are chances:
- first the error is before the line with the X -> set the X earlier
- the compiler says that he does not know variable X -> set the X later
so you can detect the position of your error.
br
Josef Metz
Josef Metz
Also, you should teach yourself to save your work very often (I personally save my objects every 2 lines of code or something like that, Ctrl+S/Enter is in my fingers' muscle memory :?), so that you know what you've just done, and it's easy to remember what it is that cause the compile error.
RIS Plus, LLC