Convert Code to Integer

lreinaxlreinax Member Posts: 34
edited 2002-06-12 in Navision Financials
Hello all,
Who can I convert Code data type into Integer?
Is it possible?

Thanks

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Lookup EVALUATE in the C/SIDE reference guide.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • lreinaxlreinax Member Posts: 34
    </font><blockquote><font size="1" face="Verdana, Arial">quote:</font><hr /><font size="2" face="Verdana, Arial">Originally posted by Luc Van Dyck:
    <strong>Lookup EVALUATE in the C/SIDE reference guide.</strong></font><hr /></blockquote><font size="2" face="Verdana, Arial">
  • Christian_BuehlChristian_Buehl Member Posts: 145
    the "Format" command will work too
  • lreinaxlreinax Member Posts: 34
    Thanks
  • SentinelSentinel Member Posts: 1
    both, format and evaluate, won't work for this problem.

    you will have to program a function, because code-formated fields are able to consist of alphabetic characters instead of numbers.
  • lreinaxlreinax Member Posts: 34
    Thanks again,
    I've used EVALUATE command without problems.
    I tried FORMAT command but only works to convert decimal into code not code into decimal.

    <img border="0" title="" alt="[Confused]" src="images/smiles/icon_confused.gif" />
Sign In or Register to comment.