Curso GeneXus

Versión: Evolution 3
Curso online

How to list related information

How to use nested For eachs to print related information (the categories and their tourist attractions). This case is known as join. 


A procedure is implemented with a couple of nested For eachs, where the information of the external For each is related to that of the internal For each with a relation of one to many. An explanation is given regarding the difference between this case (join) and cases where there is no evident relation between the information (Cartesian product).

We recommend that you view the "Introduction to procedures and listings. Command to query the database" video.

Additionally: nested For eachs –related navigations, independent For eachs, join, print, Cartesian product, printblock, layout, source, base table, extended table, pdf report. 

Click here for a PDF transcript of the video.
 
Related
.
Procedures
Identifying availabe attributes
Filtering Data from a Web Panel’s Grid
Nested For Each command to list grouped data
Data Selectors: Reusing definitions
Simple For each – base table and order clause
Simple For each – base table and where clause
Simple For each – base table and order clause
Web panels: Determining the base table
More about single For each, indexes, and clauses
Orders, filters and conditions of listed data
Base tables and navigation in Smart Devices objects
Base tables and navigation in Smart Devices objects
Identifying available attributes. Base and Extended table.
Curso em processo de tradução

Content (20)