Discussions

Expand all | Collapse all

Using User() Logic for efficiency

  • 1.  Using User() Logic for efficiency

    Silver
    Contributor
    Posted 02-16-2018 20:28
    Hi,

    In using the User() function, which, if any, is the most efficient way to express this line?

    if(
    [Records Owner]=User(),
    ...
    )

    or

    If(

    UserToName([Records Owner]) = UserToName(User()),
    ...
    )

    When I say 'efficient', I mean which requires less resources to process?

    Chris


  • 2.  RE: Using User() Logic for efficiency

    Top
    Contributor
    Posted 02-16-2018 20:44
    Is this a trick question?


  • 3.  RE: Using User() Logic for efficiency

    Silver
    Contributor
    Posted 02-16-2018 20:48
    Hi Matthew
    Nice to interact with you again. :/
    No is the answer to your qualifying question. Which expression is more efficient? I don't come out here to play.


  • 4.  RE: Using User() Logic for efficiency

    Posted 02-16-2018 20:44
    if(
    [Records Owner]=User(),
    ...
    )