Skip to main content

get rid of an unwanted comma before calculated text

Comments

2 comments

  • Permanently deleted user
    Derrick Kotlus commented  ·    ·  

    Hello Ceri,

    It appears that the childconcatenate function is also concatenating a blank value(if there is one). This means that we need to adjust the Assets formula slightly in order to account for this possibility. Below is a formula that should accomplish this. Essentially this checks to see if the first character is a comma. If it is, it will be removed.

    if(mid(childconcatenate({text calcs}.{Link to Sheet1}.{Snip from Notes}, ","), 1, 1)=",", mid(childconcatenate({text calcs}.{Link to Sheet1}.{Snip from Notes}, ","), 2, 9999999), childconcatenate({text calcs}.{Link to Sheet1}.{Snip from Notes}, ",")

    Hope this helps!

    Derrick

    0
  • Permanently deleted user
    Matt Harris commented  ·    ·  

    Hi Derrick

    I'm taking over from Ceri on this Track Via application and have tried your fix. When saving the table I get this error message:

    The field 'CURRENT LOCATION' did not pass validation
    Parse error near char 249 " In specified formula 'if(mid(childconcatenate({text calcs}.{Link to Sheet1}.{Snip from Notes}, ","), 1, 1)=",", mid(childconcatenate({text calcs}.{Link to Sheet1}.{Snip from Notes}, ","), 2, 9999999), childconcatenate({text calcs}.{Link to Sheet1}.{Snip from Notes}, ",")'. Expected ',' or ')'.

    0

Please sign in to leave a comment.

Powered by Zendesk