web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : w7gmzkEUFIXTbmZhE4ff9F
Power Apps - Building Power Apps
Answered

In a Canvas App, how to build a form that writes to multiple tables?

Like (0) ShareShare
ReportReport
Posted on 22 Jun 2022 12:49:11 by

Hello everyone,

 

I have a scenario with the following requirements for a form, say it is regarding records about Animals:
- on new/edit Animal form, allow upload of max one Excel file, saved to DataVerse

- however, on edit Animal form, the Excel file uploaded should not overwrite the existing Excel file

- when viewing the Animal record, the canvas app should only show the latest Excel file

 

So, over time as the user edits the record, in DataVerse there should be a history of Excel files per Animal record and a way to download these Excel files.

 

I am thinking that most likely the Excel files are stored in another table, with a lookup to the Animals table, hence the subject of this question. However, I may be wrong and I hope to be enlightened and get help on building out the form.

 

Thank you all in advance!

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    67,443 Most Valuable Professional on 22 Jun 2022 at 13:05:11
    Re: In a Canvas App, how to build a form that writes to multiple tables?

    Forms can't be bound to more than one table.  So you won't be able to use SubmitForm().  YOu can use multiple Patch() statements to create or update records in multiple tables at the same time using a form or forms for the data.  Its more work, but Patch gives you the control you need to save things to multiple tables.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete