Table Summary
Hello I need to create a neat table with details from 5 related apps. The Main Member (App A) is related to 5 apps (One for each passenger) and I need to have a summary of the details from each displayed in the main member app.   Name       | Phone     | Passport Number Contact 1 | 02187653 | 1234 Contact 2 | 02157909 | 8765   Etc  PS Phone field is just a text field Any assistance would be greatly apprciated   Thank you

  • You need only one @All of Recap.join("\\n"); you initially mentioned 5 related _apps_; I think you meant items. Try either removing the last pipe sign in the table header, or adding one at the end of the Recap field. These need to match.
  • Thanx Adrian that is working for me just one issue It is not displaying as a "table" but all on one line not sure why line breaks don't do their thing ? "Name | Phone | Passport Number | \\n"+@All of Recap.join("\\n")+@All of Recap.join("\\n")+@All of Recap.join("\\n")+@All of Recap.join("\\n")+@All of Recap.join("\\n")  
  • Try adding the Recap field within the _Passengers_ app, then simply: @Name + " | " + @Phone + " | " + @Passport Number Then within the Members app :  "Name | Phone | Passport Number\\n" + @All of Recap.join("\\n")
  • Hi Adrian Thanx for the input but ... The 5 related items are created when a web form is filled in so I have main members details and then 5 possible entries into the passengers app. Each appears as its own "@fields" so I get @recap_pass1 @recap_pass2 etc .  I do get the data in the format I need but only the first entry. Maybe there is a better way to collect the passenger data on the web form?   Thnx         
  • The easiest way I've found is to add a "Recap" calculation field within each related app with :  @Name + " | " + @Phone + " | " + @Passport Number Then within the parent app :  "Name | Phone | Passport Number\\n" + @All of Recap 1.join("\\n") + @All of Recap 2.join("\\n") + @All of Recap 3.join("\\n") + @All of Recap 4.join("\\n") + @All of Recap 5.join("\\n")
This question is closed.