
Hi There
When i edit the query for a report i found that there are two setting for a specific data source. they are "JoinMode" and "Relations".
For "JoinMode", i'm pretty sure that i can understand. but for the "Relations", i'm a little bit confused.
I looked into some of the system queries, for some of the data source, if the setting for "JoinMode" is configured as "OutJoin", normally i found that the "Relations" is configured as "No".
Since the "OutJoin" is also one kind of relation, Why we have to configure the "Relations" as "No". does it has special meaning ?
The Microsoft official specification for "Relations" as below:
Determines if the query system should use the relations that are defined for tables and extended data types.
If set to Yes, the query is automatically updated if a relation is changed.
If we configure the "Relations" as "No", and the "JoinMode" as "OutJoin", i think the system also use the relations that are defined for tables and extended data types, right ?
The Form also have the data sources, we control the relations by configure the form data source's "LinkType", and we don't have to configure the relations, is there any difference between the form data source and query data source ?
Please correct me.
many thanks.
*This post is locked for comments
I have the same question (0)The type of join defines how tables are joined, i.e. outer join means that records from the parent table are returned even if there are no corresponding records in the child table.
Relations define which fields (and possibly filters) are used when joining tables together.
You typically need a relation when using a join, but you can't say that outer join is a relation. By the way, relations are used for many other things than just joins.
Relations property says whether a relation should be taken automatically from a table or EDT. If it's set to No, you still can define relations directly in the query.