Data Source join types
Form data source link type is a property of the form data source. We can add more than one table as a data source to the form. Those data sources should have the table level relation, So, then the developer not need to work on the coding part to find the related records. For example, if we create the order form, that order form has Student and student Attendance tables as form data sources. We can make part of both tables of the form data source and can make links as per requirement.
For Instance, We Created Two Tables.
- Student
- Student Attendance
Then Create a relation as per your requirement. I am using Normal relations.
Student
Student Attendance
Now create New Form and Add two Gird [StudentGrid] & [StudentAttendanceGird]
Let's begin
Passive Join Type
Passive form data source link type won't update the child data source automatically. For example, if we select the parent table order then order details child data source won't update. If we need to update the child data source we need to call the child data source to execute the query method by the program (code).
Active Join Type
Active link type updates the child data sources without any delay when you select the parent table record. When you deal with more records it will affect application performance.
Delay Join Type
Delay form data source link type is also same as active method the different is delay method won't update immediately when you select the parent record. It will update the child data source when you select the parent table, Ax uses a pause statement before update the child data source.
Inner join Type
Inner join form data source link type displays the rows that match with parent table and child table.
Outer join Type
Outer join form data source link type will return all parent records and matched child records. It will return all rows in the parent table.
Exists Join Type
Exist join form data source link type return matched rows of the parent table. It behaves like an inner join but the difference is once the parent row is matched with child records then stops the process and updates in the grid, Ax won't consider how many records are in the child table for the parent row.
Not Exists Join Type
Not exist join form data source link type is a totally opposite method to exist join. It will return the not-matched parent records with child records.