Calculations

Viewing 4 reply threads
  • Author
    Posts
  • December 10, 2021 at 5:20 AM #45993

    John McArthur
    Participant

    Hi,

    Why would a calculation work on one part of a form but a similar calculation won’t work on the same form?

    I created a simple calculation field: AAA + ” ” + BBB – This returns “John Doe”.
    I created a similar calculation field: CCC + ” ” + DDD – This returns ” ” (Nothing, it should return “Jane Smith”)
    All fields (AAA,BBB,CCC,DDD) are populated with entries.
    I tried removing the layout entry and re-applying it but no success.
    I tried removing the field and re-applying it with a new calculation, no success.
    I tried re-entering CCC & DDD fields, with refreshes, no success.

    Perplexed…

    December 10, 2021 at 9:45 AM #45994

    Sam Moffatt
    Participant

    This for me is quite often that I forgot to swap the type from the default of “Number” over to “Text” on the newly created calculation field.

    December 10, 2021 at 1:14 PM #45998

    Brendan
    Keymaster

    Yup. That’d do it. The Result Type is important to match what you’re actually returning from the formula.

    December 14, 2021 at 6:02 PM #46036

    John McArthur
    Participant

    Thanks guys, Spot on again. Apologies for the newbie oversight. :-)

    December 14, 2021 at 11:07 PM #46039

    Sam Moffatt
    Participant

    No worries, been there, done that, maybe even emailed Brendan about it, doh! :D

Viewing 4 reply threads

You must be logged in to reply to this topic.