0

How would I code/formula for a MAC address in a text field?

If I enter the following:  00107FCFD06F
Is it possible to have it displayed like this:  00:10:7F:CF:D0:6F

places : and force uppercase

4 replies

null
    • Sean
    • 4 yrs ago
    • Reported - view

    In the "Trigger after update" of you MAC Address field enter this...

     

    'MAC Address' := replacex(upper('MAC Address'), "(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})(\w{2})", "$1:$2:$3:$4:$5:$6")

    • Alan_Cooke
    • 4 yrs ago
    • Reported - view

    Thank you so much!  Only been doing Ninox for a day :-)

    • Alan_Cooke
    • 4 yrs ago
    • Reported - view

    Worked a treat!!

    • larry
    • 2 yrs ago
    • Reported - view

    Perfect!  Thank you!

Content aside

  • 2 yrs agoLast active
  • 4Replies
  • 630Views
  • 1 Following