How to use fields from linked form in calculation field

Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch Forums Using Tap Forms 5 How to use fields from linked form in calculation field

Viewing 1 reply thread
  • Author
    Posts
  • October 18, 2019 at 12:04 AM #37215

    Vit Vit
    Participant

    Hello,

    i have two forms.
    Form_A fields:
    – product_id (N)
    – name (T)
    – count (N)
    – calc (calc)
    – link (link to form) – join – product_id AND product_id

    Form_B fields:
    – product_id (N)
    – color (T)
    – price (N)
    – type (T)

    I try use fields from Form B in calc field of Form_A
    But I can not insert fields. TapForms insert only functions Count or Total.
    Any of corrections in formula – I loose blue box under function.

    How to use formula in calc field ???
    For example: [Form_A.count] * [Form_B.price]
    Or “result is: “+[Form_A.name] + ” ” + [Form_B.color]

    Thanks for help

    October 18, 2019 at 12:38 AM #37216

    Sam Moffatt
    Participant

    You can’t use a calculation field on Link to Form fields when the field could have multiple records contained within it. This is why you’re seeing the aggregation functions being used. If you are on the other side of a 1:M, then you can include values because there is only one ancestor however every other type and direction could have multiple values that need to be aggregated.

    A script field has a more control over what you can do at the cost of more coding, it should do what you need to achieve.

Viewing 1 reply thread

You must be logged in to reply to this topic.