devxlogo

Binding a form to multiple data sources

Binding a form to multiple data sources

Question:
I am trying to bind a form to multiple tables in a session. If I drag and drop an attribute from a single table into my form, all is well. If I drag and drop an attribute from a second table, my form will ask me if I wish to override the default table with the table from which the second attribute was dragged and dropped.

How can I structure a data source property so that I can have objects bound to multiple tables in a session?

Answer:
There is a one-to-one relationship between a container, which includes aform, and a table.

If you want to use more than one table in a physical form, you must addan embedded form to handle the secondary table access and use theappropriate Link… properties to link the two tables in thephysical form.

See also  Comparing different methods of testing your Infrastructure-as-Code
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist