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.

devx-admin

Share the Post: