Skip to main content
olalekana0448
May 31, 2021
Question

Cast from Record Field to Integer

  • May 31, 2021
  • 4 replies
  • 2 views

Please can someone have a look and tell me  what I am doing wrong here ?

    4 replies

    stefanhelzle0001
    Brainy
    June 1, 2021

    Did you try local!mimo[a!recordType!<RECORD>.field.<FIELD>]?

    olalekana0448
    June 1, 2021

    Thanks, Stefan, for the wiliness to help. But the "[a!recordType!<RECORD>.field.<FIELD>]" is not available. Please check the attached images.

    stefanhelzle0001
    Brainy
    June 1, 2021

    Sorry, had some typos ...

    "[recordType!<RECORD>.fields.<FIELD>]"

    You are already using this. It is the same as in "fields" of your query.

    In a CDT you get the value of a field like: local!cdt["status"]

    In a recordType this is: local!record[recordType!MY_RECORD.fields.status]