Hi,
I am new to navision and i am trying to make a dataport to import data from an ascii file. One of the fields that i have to fill in is an option field and i use one of the field options in the dataport as the value.
i.e. VarReccord.SETRANGE("Field Name",VarReccord."Field Name"::"Field Option"); and i get back : "The expression text cannot be type-converted to a option value"
Any Ideas on how i can solve this issue?
Thanks
Costas
0
Comments
Greetings
...
Everybody on-line.
...
Looking good!
option::Value
or by it's integer value (starts from 0), the fastest way to find the correct integer value for your option value, is to look at the OptionString that you can find in the Properties of you Option Field
...
Everybody on-line.
...
Looking good!