Hello,
i try to read a integer field from a database an write it into a field in navision, but i always get error messages.
I tried this:
NavTab.Reznr := ADOrs.Fields.Item('Reznr').Value;
but i got the message that this type is not supported in C/SIDE
The Evaluate function also doesn't work:
EVALUATE(MischprotokolleMH.Reznr, ADOrs.Fields.Item('Reznr').Value);
can somebody help me?
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
What do you mean with testing the value size? That it is not bigger than "2147483647"?
I am not sure, is it really possible to "address" the item through text? Did you try to address the item through integer? (indexing by integer and not text)...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
It works fine, when i want to read out a String field from the Database and write it into a String field in Navision: but i can't find a way to read out an integer and write it into a navision integer field
IF your integer type field was never assigned a number then it has no value assigned (has NULL value). NULL and 0 are not the same. Do not expect ADO to retun you value = 0 when the field in question has no value assigned (has NULL value)
possible usage is like that:
New Function: