Nesting layout objects
When you nest layout objects, you can pass query result information from a higher level object to a lower level object. Because you have the ability to pass this information, you can use nested layouts to display more detailed information that relates to a specific data value.
About this task
To nest one layout object within another layout object:
- Double-click the layout to display the contents of its data template.
- The canvas for that data template folder opens in the editor window.
- Select the new layout object from the Palette view. Insert the new layout object in the editor window. The [layout name] Wizard opens. Specify the name of the query that will be used to obtain the data for this child layout. The queries that are listed in the [layout name] Wizard are the ones that you have added to your Queries folder for the visual project.
- When you are creating the query that will be used by a
child layout object you can do one of the following:
- Create a query that references the parent layout object's query results using a query parameter. By referencing the parent query results, you can specify how to display your child layout.
- Create a completely new query that does not reference the parent layout object's query results. If you do not reference the parent object query results, then your child object's complete query results set will display for every row of the parent object's query result set.
- After the new layout object is inserted, you can modify its properties as you require.
- Click Runtime in the editor to view the results.