Forum Discussion

Ma__IsabelGuman's avatar
Ma__IsabelGuman
Qrew Cadet
5 years ago

Formula text field to return ID of a user

#field #Formulasandfunctions 

Hello,

We have a record with Agent Name, ID, Supervisor and Manager. The field "ID" returns the ID of Agent Name. What I want to do is add another field called "Supervisor ID" which should return ID of the Supervisor of that specific Agent. I'm thinking of a formula text field with this logic:

ToText([ID] of [Supervisor])

What should be the appropriate formula for this?

------------------------------
Isabel Gumanid
------------------------------
​​​
  • Try it like this

    ToText([ID]) & " of " & ToText([Supervisor])​


    ------------------------------
    Everett Patterson
    ------------------------------
    • Ma__IsabelGuman's avatar
      Ma__IsabelGuman
      Qrew Cadet
      Thank you. 
       
      Still, it returns the ID of the agent instead of the agent's supervisor in that specific record.

      ------------------------------
      Ma. Isabel Gumanid
      ------------------------------
      • EverettPatterso's avatar
        EverettPatterso
        Qrew Captain
        Then just change the ID field to be the Supervisor ID

        ToText([Supervisor ID]) & " of " & ToText([Supervisor])​​


        ------------------------------
        Everett Patterson
        ------------------------------