Dears
I'm processing an XML doc in NAV2013BETA
<Title> is defined as DotNet variable : System.Xml.XmlNode
If <Title> contains a value then no problem ; but...
In C/AL when the SelectSingleNode returns null the Node Variable is not instantiated.
title := items.Item(i).SelectSingleNode('category/text()');
How to test a DOTNET null value in C/AL ?
TIA
L
0
Answers
I think that ISNULL() is not a C/AL function, even in NAV2013...
I'm only looking for a C/AL function.
Regards,
L
IF ISNULL(title) THEN ...
works perfectly but function is not yet documented in NAV help.
Regards,
L
but i want to use com object from dotnet
how do i declare my keyid?
is it as a CODE type?
I am using dotnet to read fields in unpredictable order. To make it easier to upgrade in the future, I decided to use dotnet.
Thanks for the tip. :thumbsup:
http://mibuso.com/blogs/davidmachanick/