Field reference use and some possible problems
Posted on July 11th, 2012 by kriki
If you have a recordreference and want to use the value of a field in the recordreference, you can use it in this way:
TheRecordReference.FIELD(10).VALUE
You might even do something as this
SomeFieldReference.SETRANGE(TheRecordReference.FIELD(10).VALUE);
BUT for some reason, it can happen this crashes the NAV client. I had the problem with 50SP1 Build 30488 (I don’t know about more recent […]
Filed under: C/AL, NAV | 1 Comment »