Using fields on related form

Viewing 8 reply threads
  • Author
    Posts
  • January 18, 2018 at 6:25 PM #27058

    Tim Flick
    Participant

    I want to do a calculation in the main form using fields from a related form

    Thanks

    January 18, 2018 at 8:05 PM #27060

    Brendan
    Keymaster

    Hi Tim,

    Sure, you can do that. But only in aggregate. Just reference your related fields in your formula and Tap Forms will create the proper field tag that includes the name of the form you’re linking to.

    For example:

    [TOTAL::Account::Amount]

    Thanks!

    Brendan

    January 18, 2018 at 8:11 PM #27061

    Tim Flick
    Participant

    on the child form I have five time fields that I want to divide by five and show the result on the parent form. I then want to take that average to divide into distance traveled to give me a yards per second

    Thanks

    January 18, 2018 at 8:16 PM #27062

    Tim Flick
    Participant

    I guess I could use the aggregate total and then create another calculated field to compute the average and then use that to give me a yards per second

    January 18, 2018 at 8:27 PM #27063

    Tim Flick
    Participant

    I tried it that works after I carry over the total from the child form. Then I can manipulate that on the parent form

    January 18, 2018 at 9:41 PM #27064

    Brendan
    Keymaster

    You can also use AVG instead of TOTAL if you want the average of a set of values from a field in the child record. Tap Forms will ignore null values in the AVG calculation.

    January 19, 2018 at 9:10 AM #27068

    Tim Flick
    Participant

    Ok the problem I’m having now is when I add to an existing reord or create a new one the calculated fields don’t show new values

    January 19, 2018 at 9:58 AM #27069

    Tim Flick
    Participant

    It only works if I go back and save each formula which causes a recaculation

    January 19, 2018 at 10:04 AM #27070

    Tim Flick
    Participant

    Is the only way to do this is to go to the list view and pull down from the top

Viewing 8 reply threads

You must be logged in to reply to this topic.